Index: src/compiler/s390/code-generator-s390.cc |
diff --git a/src/compiler/s390/code-generator-s390.cc b/src/compiler/s390/code-generator-s390.cc |
index 236c28bb05c855c16d4fb6dd3c3edacf440fb4f2..3540b0a722564eea2c7d6569f6faf8e66fb0d0ae 100644 |
--- a/src/compiler/s390/code-generator-s390.cc |
+++ b/src/compiler/s390/code-generator-s390.cc |
@@ -156,7 +156,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 offset, |
Register value, Register scratch0, Register scratch1, |