Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 63e60ba66b00a11c106d4dee938fcdf0c316e07c..7b3788e71006efb8ba5ff9d2e80bb1c751d13d0a 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -783,6 +783,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 |