Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 4c5819076b913cbe0b3343b1aadba913bee6196e..094f5ed346c076f39077fdd1f049083d798fecd6 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -2246,7 +2246,7 @@ LInstruction* LChunkBuilder::DoStoreNamedField(HStoreNamedField* instr) { |
} |
bool can_be_constant = instr->value()->IsConstant() && |
- !HConstant::cast(instr->value())->InNewSpace() && |
+ HConstant::cast(instr->value())->NotInNewSpace() && |
!(FLAG_track_double_fields && instr->field_representation().IsDouble()); |
LOperand* val; |