Index: src/mips/builtins-mips.cc |
diff --git a/src/mips/builtins-mips.cc b/src/mips/builtins-mips.cc |
index 27e4267f4f95bf91a401c5f10c7ad1d00f4961c5..035795ad24074add2da7a59eaa0517ec64dc7735 100644 |
--- a/src/mips/builtins-mips.cc |
+++ b/src/mips/builtins-mips.cc |
@@ -1965,9 +1965,7 @@ void Builtins::Generate_Apply(MacroAssembler* masm) { |
// Try to create the list from an arguments object. |
__ bind(&create_arguments); |
- __ lw(a2, |
- FieldMemOperand(a0, JSObject::kHeaderSize + |
- Heap::kArgumentsLengthIndex * kPointerSize)); |
+ __ lw(a2, FieldMemOperand(a0, JSArgumentsObject::kLengthOffset)); |
__ lw(t0, FieldMemOperand(a0, JSObject::kElementsOffset)); |
__ lw(at, FieldMemOperand(t0, FixedArray::kLengthOffset)); |
__ Branch(&create_runtime, ne, a2, Operand(at)); |