Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 27900c1eef739719ef98b0041446f83b666df6ca..b301f29e31f804cdca1817216414d1b3f354fa5e 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -948,6 +948,7 @@ void MacroAssembler::Cvtlsi2sd(XMMRegister dst, const Operand& src) { |
void MacroAssembler::Load(Register dst, const Operand& src, Representation r) { |
+ ASSERT(!r.IsDouble()); |
if (r.IsByte()) { |
movzxbl(dst, src); |
} else if (r.IsInteger32()) { |
@@ -959,6 +960,7 @@ void MacroAssembler::Load(Register dst, const Operand& src, Representation r) { |
void MacroAssembler::Store(const Operand& dst, Register src, Representation r) { |
+ ASSERT(!r.IsDouble()); |
if (r.IsByte()) { |
movb(dst, src); |
} else if (r.IsInteger32()) { |