Index: src/mips64/builtins-mips64.cc |
diff --git a/src/mips64/builtins-mips64.cc b/src/mips64/builtins-mips64.cc |
index 27cf689212ae4e881aadea70b7452e2f435d7399..0310d0d1885b94e4722c79b9cfd66d7fbdbb5723 100644 |
--- a/src/mips64/builtins-mips64.cc |
+++ b/src/mips64/builtins-mips64.cc |
@@ -1960,9 +1960,7 @@ void Builtins::Generate_Apply(MacroAssembler* masm) { |
// Try to create the list from an arguments object. |
__ bind(&create_arguments); |
- __ ld(a2, |
- FieldMemOperand(a0, JSObject::kHeaderSize + |
- Heap::kArgumentsLengthIndex * kPointerSize)); |
+ __ ld(a2, FieldMemOperand(a0, JSSloppyArgumentsObject::kLengthOffset)); |
__ ld(a4, FieldMemOperand(a0, JSObject::kElementsOffset)); |
__ ld(at, FieldMemOperand(a4, FixedArray::kLengthOffset)); |
__ Branch(&create_runtime, ne, a2, Operand(at)); |