Index: src/arm64/lithium-codegen-arm64.cc |
diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc |
index 9b8156e754e05d6bfb8dbf13f4e2cd91fcdf34c2..48ea7796773e0b3cb4f5638b597abd967d29f56f 100644 |
--- a/src/arm64/lithium-codegen-arm64.cc |
+++ b/src/arm64/lithium-codegen-arm64.cc |
@@ -376,6 +376,7 @@ int LCodeGen::DefineDeoptimizationLiteral(Handle<Object> literal) { |
void LCodeGen::RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
Safepoint::DeoptMode mode) { |
+ environment->set_has_been_used(); |
if (!environment->HasBeenRegistered()) { |
int frame_count = 0; |
int jsframe_count = 0; |