Index: src/x64/full-codegen-x64.cc |
=================================================================== |
--- src/x64/full-codegen-x64.cc (revision 9062) |
+++ src/x64/full-codegen-x64.cc (working copy) |
@@ -245,6 +245,7 @@ |
Comment cmnt(masm_, "[ Declarations"); |
scope()->VisitIllegalRedeclaration(this); |
} else { |
+ PrepareForBailoutForId(AstNode::kFunctionEntryId, NO_REGISTERS); |
{ Comment cmnt(masm_, "[ Declarations"); |
// For named function expressions, declare the function name as a |
// constant. |
@@ -255,7 +256,7 @@ |
} |
{ Comment cmnt(masm_, "[ Stack check"); |
- PrepareForBailoutForId(AstNode::kFunctionEntryId, NO_REGISTERS); |
+ PrepareForBailoutForId(AstNode::kDeclarationsId, NO_REGISTERS); |
Label ok; |
__ CompareRoot(rsp, Heap::kStackLimitRootIndex); |
__ j(above_equal, &ok, Label::kNear); |