Index: src/ppc/builtins-ppc.cc |
diff --git a/src/ppc/builtins-ppc.cc b/src/ppc/builtins-ppc.cc |
index b03cf5f5dcdbaa189915802c50030bce91193125..c393779341521216080991cf168122354cc1f5a3 100644 |
--- a/src/ppc/builtins-ppc.cc |
+++ b/src/ppc/builtins-ppc.cc |
@@ -1991,9 +1991,7 @@ void Builtins::Generate_Apply(MacroAssembler* masm) { |
// Try to create the list from an arguments object. |
__ bind(&create_arguments); |
- __ LoadP(r5, FieldMemOperand( |
- r3, JSObject::kHeaderSize + |
- Heap::kArgumentsLengthIndex * kPointerSize)); |
+ __ LoadP(r5, FieldMemOperand(r3, JSArgumentsObject::kLengthOffset)); |
__ LoadP(r7, FieldMemOperand(r3, JSObject::kElementsOffset)); |
__ LoadP(ip, FieldMemOperand(r7, FixedArray::kLengthOffset)); |
__ cmp(r5, ip); |