Index: src/mips/full-codegen-mips.cc |
=================================================================== |
--- src/mips/full-codegen-mips.cc (revision 9062) |
+++ src/mips/full-codegen-mips.cc (working copy) |
@@ -266,6 +266,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. |
@@ -276,7 +277,7 @@ |
} |
{ Comment cmnt(masm_, "[ Stack check"); |
- PrepareForBailoutForId(AstNode::kFunctionEntryId, NO_REGISTERS); |
+ PrepareForBailoutForId(AstNode::kDeclarationsId, NO_REGISTERS); |
Label ok; |
__ LoadRoot(t0, Heap::kStackLimitRootIndex); |
__ Branch(&ok, hs, sp, Operand(t0)); |