Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index bf99f5682ac2323ab8d6fda314ab023bd12ac763..b72419fa690d710be5b6e923bdd4ea96e383f117 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -232,7 +232,7 @@ void FullCodeGenerator::Generate(CompilationInfo* info) { |
} |
{ Comment cmnt(masm_, "[ Stack check"); |
- PrepareForBailout(info->function(), NO_REGISTERS); |
+ PrepareForBailoutForId(AstNode::kFunctionEntryId, NO_REGISTERS); |
NearLabel ok; |
__ CompareRoot(rsp, Heap::kStackLimitRootIndex); |
__ j(above_equal, &ok); |