Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 03c196140aa33fdb0c61ba95997cee5ca80c4f40..5c337e8df81cd13d61d701bcb23d40cab11265b4 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -744,6 +744,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 |