Index: src/compiler/ppc/code-generator-ppc.cc |
diff --git a/src/compiler/ppc/code-generator-ppc.cc b/src/compiler/ppc/code-generator-ppc.cc |
index 96ff785e2891c4ea3c62b87da6388da746010c21..990f1eccfa4a5fba7664f1654a4ace06c4f5228e 100644 |
--- a/src/compiler/ppc/code-generator-ppc.cc |
+++ b/src/compiler/ppc/code-generator-ppc.cc |
@@ -175,7 +175,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, |