Index: src/x64/lithium-codegen-x64.cc |
=================================================================== |
--- src/x64/lithium-codegen-x64.cc (revision 13907) |
+++ src/x64/lithium-codegen-x64.cc (working copy) |
@@ -1643,7 +1643,8 @@ |
} else { |
if (index->value() < JSDate::kFirstUncachedField) { |
ExternalReference stamp = ExternalReference::date_cache_stamp(isolate()); |
- __ movq(kScratchRegister, stamp); |
+ Operand stamp_operand = __ ExternalOperand(stamp); |
+ __ movq(kScratchRegister, stamp_operand); |
__ cmpq(kScratchRegister, FieldOperand(object, |
JSDate::kCacheStampOffset)); |
__ j(not_equal, &runtime, Label::kNear); |