Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index a64d3e223fae20d9f17dbb74b1580d58ed847ed3..a8536a1841f379a5078e5fc79716f16e9564024f 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -687,6 +687,7 @@ void LCodeGen::CallRuntimeFromDeferred(Runtime::FunctionId id, |
void LCodeGen::RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
Safepoint::DeoptMode mode) { |
+ environment->set_has_been_used(); |
if (!environment->HasBeenRegistered()) { |
// Physical stack frame layout: |
// -x ............. -4 0 ..................................... y |