Reviewers: Michael Starzinger,

Message:
PTAQL

Description:
Revert one line from r11715 because of a test failure on Windows.

TEST=mjsunit/harmony/proxies
[email protected]


Please review this at https://chromiumcodereview.appspot.com/10532004/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/runtime.cc


Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index 331d2d4dd6b3b65b2822132643a13bfb6af1873e..cf143127acade800d3cf13e9354bc581f1ba2ce0 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -2182,7 +2182,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_SetCode) {
     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


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to