Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 6c934b7ce9a7654a3b8fd6faa4238a2481f899dd..47cb2dcbf06f1cbd2b716ff7b67cb00eefc008bc 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -1051,6 +1051,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 |