Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 4bf84a8585c0b8e8456bd0c16e4e7d4b2bc9fe32..e561573e4589c33a9fe74962bef29451d4d11568 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::kRootAstId, NO_REGISTERS); |
NearLabel ok; |
__ CompareRoot(rsp, Heap::kStackLimitRootIndex); |
__ j(above_equal, &ok); |