TEST=mjsunit/harmony/proxies
R=mstarzinger@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
10532004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11718
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
Handle<JSFunction> fun = Handle<JSFunction>::cast(code);
Handle<SharedFunctionInfo> shared(fun->shared());
- if (!JSFunction::CompileLazy(fun, KEEP_EXCEPTION)) {
+ if (!SharedFunctionInfo::EnsureCompiled(shared, KEEP_EXCEPTION)) {
return Failure::Exception();
}
// Since we don't store the source for this we should never