Index: src/mips/stub-cache-mips.cc |
=================================================================== |
--- src/mips/stub-cache-mips.cc (revision 11205) |
+++ src/mips/stub-cache-mips.cc (working copy) |
@@ -1737,14 +1737,14 @@ |
// expensive shift first, and use an offset later on. |
__ sll(t1, t0, kPointerSizeLog2 - kSmiTagSize); |
__ Addu(elements, elements, t1); |
- __ lw(v0, MemOperand(elements, FixedArray::kHeaderSize - kHeapObjectTag)); |
+ __ lw(v0, FieldMemOperand(elements, FixedArray::kHeaderSize)); |
__ Branch(&call_builtin, eq, v0, Operand(t2)); |
// Set the array's length. |
__ sw(t0, FieldMemOperand(receiver, JSArray::kLengthOffset)); |
// Fill with the hole. |
- __ sw(t2, MemOperand(elements, FixedArray::kHeaderSize - kHeapObjectTag)); |
+ __ sw(t2, FieldMemOperand(elements, FixedArray::kHeaderSize)); |
__ Drop(argc + 1); |
__ Ret(); |
@@ -3496,7 +3496,7 @@ |
CpuFeatures::Scope scope(FPU); |
__ mtc1(value, f0); |
__ cvt_d_w(f0, f0); |
- __ sdc1(f0, MemOperand(v0, HeapNumber::kValueOffset - kHeapObjectTag)); |
+ __ sdc1(f0, FieldMemOperand(v0, HeapNumber::kValueOffset)); |
__ Ret(); |
} else { |
Register dst1 = t2; |
@@ -3544,7 +3544,7 @@ |
__ Cvt_d_uw(f0, value, f22); |
- __ sdc1(f0, MemOperand(v0, HeapNumber::kValueOffset - kHeapObjectTag)); |
+ __ sdc1(f0, FieldMemOperand(v0, HeapNumber::kValueOffset)); |
__ Ret(); |
} else { |
@@ -3598,7 +3598,7 @@ |
__ AllocateHeapNumber(v0, t3, t5, t6, &slow); |
// The float (single) value is already in fpu reg f0 (if we use float). |
__ cvt_d_s(f0, f0); |
- __ sdc1(f0, MemOperand(v0, HeapNumber::kValueOffset - kHeapObjectTag)); |
+ __ sdc1(f0, FieldMemOperand(v0, HeapNumber::kValueOffset)); |
__ Ret(); |
} else { |
// Allocate a HeapNumber for the result. Don't use a0 and a1 as |