Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index b8cb3ee31a334b6ddac4888be4b359d6f69343e9..17272fc24911ecc40f4e89cb6f7c3c04af6b8d4b 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -4696,6 +4696,7 @@ void FullCodeGenerator::VisitCallRuntime(CallRuntime* expr) { |
VisitForStackValue(args->at(i)); |
} |
+ PrepareForBailoutForId(expr->CallId(), NO_REGISTERS); |
EmitCallJSRuntimeFunction(expr); |
// Restore context register. |
@@ -4720,6 +4721,7 @@ void FullCodeGenerator::VisitCallRuntime(CallRuntime* expr) { |
} |
// Call the C runtime. |
+ PrepareForBailoutForId(expr->CallId(), NO_REGISTERS); |
__ CallRuntime(function, arg_count); |
context()->Plug(rax); |
} |