Index: src/compiler/mips64/code-generator-mips64.cc |
diff --git a/src/compiler/mips64/code-generator-mips64.cc b/src/compiler/mips64/code-generator-mips64.cc |
index 1f5a26e952d503018ba6010a9cf2303e6383f0c4..c6341b1210c45777635adc362ab853902aca4950 100644 |
--- a/src/compiler/mips64/code-generator-mips64.cc |
+++ b/src/compiler/mips64/code-generator-mips64.cc |
@@ -225,7 +225,7 @@ class OutOfLineRecordWrite final : public OutOfLineCode { |
scratch0_(scratch0), |
scratch1_(scratch1), |
mode_(mode), |
- must_save_lr_(gen->frame_access_state()->has_frame()) {} |
+ must_save_lr_(!gen->frame_access_state()->has_frame()) {} |
void Generate() final { |
if (mode_ > RecordWriteMode::kValueIsPointer) { |