Reviewers: William Hesse, Description: Fix SVN merge problem in the top-level compiler.
(Remove bailout on non-global declarations again) [email protected] Please review this at http://codereview.chromium.org/372054 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/compiler.cc Index: src/compiler.cc =================================================================== --- src/compiler.cc (revision 3243) +++ src/compiler.cc (working copy) @@ -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 -~----------~----~----~----~------~----~------~--~---
