Index: src/mips/assembler-mips.cc |
diff --git a/src/mips/assembler-mips.cc b/src/mips/assembler-mips.cc |
index e219cc748a2ff88bc22ad092065e9d230388fdd6..797952fffd91d2b98c6c95162f97728586988700 100644 |
--- a/src/mips/assembler-mips.cc |
+++ b/src/mips/assembler-mips.cc |
@@ -2024,6 +2024,7 @@ void Assembler::lwc1(FPURegister fd, const MemOperand& src) { |
void Assembler::ldc1(FPURegister fd, const MemOperand& src) { |
// Workaround for non-8-byte alignment of HeapNumber, convert 64-bit |
// load to two 32-bit loads. |
+ CHECK(!src.rm().is(at)); |
paul.l...
2015/08/31 22:56:34
I think these should be DCHECK (here and below).
Djordje.Pesic
2015/09/07 11:34:17
Done.
|
if (IsFp64Mode()) { |
if (is_int16(src.offset_) && is_int16(src.offset_ + kIntSize)) { |
GenInstrImmediate(LWC1, src.rm(), fd, |
@@ -2069,6 +2070,7 @@ void Assembler::swc1(FPURegister fd, const MemOperand& src) { |
void Assembler::sdc1(FPURegister fd, const MemOperand& src) { |
// Workaround for non-8-byte alignment of HeapNumber, convert 64-bit |
// store to two 32-bit stores. |
+ CHECK(!src.rm().is(at)); |
if (IsFp64Mode()) { |
if (is_int16(src.offset_) && is_int16(src.offset_ + kIntSize)) { |
GenInstrImmediate(SWC1, src.rm(), fd, |