Index: src/compiler/arm/code-generator-arm.cc |
diff --git a/src/compiler/arm/code-generator-arm.cc b/src/compiler/arm/code-generator-arm.cc |
index 2c6224a2ac81c5301a7b74c19c20adccff2f9adc..2c9415e68d4379b613bde5a99d6b3559d8e9dd7a 100644 |
--- a/src/compiler/arm/code-generator-arm.cc |
+++ b/src/compiler/arm/code-generator-arm.cc |
@@ -218,7 +218,8 @@ class OutOfLineRecordWrite final : public OutOfLineCode { |
value_(value), |
scratch0_(scratch0), |
scratch1_(scratch1), |
- mode_(mode) {} |
+ mode_(mode), |
+ must_save_lr_(!gen->frame_access_state()->has_frame()) {} |
OutOfLineRecordWrite(CodeGenerator* gen, Register object, int32_t index, |
Register value, Register scratch0, Register scratch1, |