Index: src/ia32/full-codegen-ia32.cc |
=================================================================== |
--- src/ia32/full-codegen-ia32.cc (revision 9062) |
+++ src/ia32/full-codegen-ia32.cc (working copy) |
@@ -255,6 +255,7 @@ |
scope()->VisitIllegalRedeclaration(this); |
} else { |
+ PrepareForBailoutForId(AstNode::kFunctionEntryId, NO_REGISTERS); |
{ Comment cmnt(masm_, "[ Declarations"); |
// For named function expressions, declare the function name as a |
// constant. |
@@ -265,7 +266,7 @@ |
} |
{ Comment cmnt(masm_, "[ Stack check"); |
- PrepareForBailoutForId(AstNode::kFunctionEntryId, NO_REGISTERS); |
+ PrepareForBailoutForId(AstNode::kDeclarationsId, NO_REGISTERS); |
Label ok; |
ExternalReference stack_limit = |
ExternalReference::address_of_stack_limit(isolate()); |