Index: src/arm/full-codegen-arm.cc |
=================================================================== |
--- src/arm/full-codegen-arm.cc (revision 9062) |
+++ src/arm/full-codegen-arm.cc (working copy) |
@@ -258,6 +258,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. |
@@ -268,7 +269,7 @@ |
} |
{ Comment cmnt(masm_, "[ Stack check"); |
- PrepareForBailoutForId(AstNode::kFunctionEntryId, NO_REGISTERS); |
+ PrepareForBailoutForId(AstNode::kDeclarationsId, NO_REGISTERS); |
Label ok; |
__ LoadRoot(ip, Heap::kStackLimitRootIndex); |
__ cmp(sp, Operand(ip)); |