Index: src/arm64/lithium-arm64.cc |
diff --git a/src/arm64/lithium-arm64.cc b/src/arm64/lithium-arm64.cc |
index 241bc4b20bfe705aaaa06580c473e367df521fae..ff3d45005f3489074f4d06f5fe291f0179a63ec6 100644 |
--- a/src/arm64/lithium-arm64.cc |
+++ b/src/arm64/lithium-arm64.cc |
@@ -2400,7 +2400,7 @@ LInstruction* LChunkBuilder::DoStoreNamedField(HStoreNamedField* instr) { |
LOperand* temp1 = NULL; |
if (instr->access().IsExternalMemory() || |
- instr->field_representation().IsDouble()) { |
+ (!FLAG_unbox_double_fields && instr->field_representation().IsDouble())) { |
value = UseRegister(instr->value()); |
} else if (instr->NeedsWriteBarrier()) { |
value = UseRegisterAndClobber(instr->value()); |