Index: src/compiler/arm64/code-generator-arm64.cc |
diff --git a/src/compiler/arm64/code-generator-arm64.cc b/src/compiler/arm64/code-generator-arm64.cc |
index ce4336a7b0bfd2df1dc871e64d4493fb73462b85..04acfb8aa634fece924544cb51adce072271007e 100644 |
--- a/src/compiler/arm64/code-generator-arm64.cc |
+++ b/src/compiler/arm64/code-generator-arm64.cc |
@@ -545,9 +545,8 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
Register value = i.InputRegister(2); |
__ Add(index, object, Operand(index, SXTW)); |
__ Str(value, MemOperand(index)); |
- SaveFPRegsMode mode = code_->frame()->DidAllocateDoubleRegisters() |
- ? kSaveFPRegs |
- : kDontSaveFPRegs; |
+ SaveFPRegsMode mode = |
+ frame()->DidAllocateDoubleRegisters() ? kSaveFPRegs : kDontSaveFPRegs; |
// TODO(dcarney): we shouldn't test write barriers from c calls. |
LinkRegisterStatus lr_status = kLRHasNotBeenSaved; |
UseScratchRegisterScope scope(masm()); |