From eba324f9b1429351a7487fbaeae9f1e50bd2b50e Mon Sep 17 00:00:00 2001 From: "ulan@chromium.org" Date: Tue, 5 Jun 2012 14:41:01 +0000 Subject: [PATCH] Revert one line from r11715 because of a test failure on Windows. 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 --- src/runtime.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime.cc b/src/runtime.cc index 331d2d4..cf14312 100644 --- a/src/runtime.cc +++ b/src/runtime.cc @@ -2182,7 +2182,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_SetCode) { Handle fun = Handle::cast(code); Handle 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 -- 2.7.4