Revision: 3245
Author: [email protected]
Date: Mon Nov  9 02:30:33 2009
Log: Fix SVN merge problem in the top-level compiler.

(Remove bailout on non-global declarations again)

[email protected]
Review URL: http://codereview.chromium.org/372054
http://code.google.com/p/v8/source/detail?r=3245

Modified:
  /branches/bleeding_edge/src/compiler.cc

=======================================
--- /branches/bleeding_edge/src/compiler.cc     Mon Nov  9 01:56:57 2009
+++ /branches/bleeding_edge/src/compiler.cc     Mon Nov  9 02:30:33 2009
@@ -650,16 +650,6 @@
    if (decl->fun() != NULL) {
      ProcessExpression(decl->fun(), Expression::kValue);
    }
-  Variable* var = decl->proxy()->var();
-  ASSERT_NOT_NULL(var);
-  if ((!var->is_global() && decl->fun() != NULL)) {
-    BAILOUT("Non-global function declaration");
-  }
-  if ((!var->is_global() &&
-       var->slot() != NULL &&
-       var->slot()->type() == Slot::LOOKUP)) {
-    BAILOUT("Lookup slot encountered in declaration");
-  }
  }



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

Reply via email to