| Index: src/mips/builtins-mips.cc
|
| ===================================================================
|
| --- src/mips/builtins-mips.cc (revision 10404)
|
| +++ src/mips/builtins-mips.cc (working copy)
|
| @@ -339,7 +339,7 @@
|
| t1,
|
| call_generic_code);
|
| __ IncrementCounter(counters->array_function_native(), 1, a3, t0);
|
| - // Setup return value, remove receiver from stack and return.
|
| + // Set up return value, remove receiver from stack and return.
|
| __ mov(v0, a2);
|
| __ Addu(sp, sp, Operand(kPointerSize));
|
| __ Ret();
|
| @@ -382,7 +382,7 @@
|
| call_generic_code);
|
| __ IncrementCounter(counters->array_function_native(), 1, a2, t0);
|
|
|
| - // Setup return value, remove receiver and argument from stack and return.
|
| + // Set up return value, remove receiver and argument from stack and return.
|
| __ mov(v0, a3);
|
| __ Addu(sp, sp, Operand(2 * kPointerSize));
|
| __ Ret();
|
| @@ -981,10 +981,10 @@
|
| // sp[4]: number of arguments (smi-tagged)
|
| __ lw(a3, MemOperand(sp, 4 * kPointerSize));
|
|
|
| - // Setup pointer to last argument.
|
| + // Set up pointer to last argument.
|
| __ Addu(a2, fp, Operand(StandardFrameConstants::kCallerSPOffset));
|
|
|
| - // Setup number of arguments for function call below.
|
| + // Set up number of arguments for function call below.
|
| __ srl(a0, a3, kSmiTagSize);
|
|
|
| // Copy arguments and receiver to the expression stack.
|
| @@ -1114,10 +1114,7 @@
|
| // Set up the context from the function argument.
|
| __ lw(cp, FieldMemOperand(a1, JSFunction::kContextOffset));
|
|
|
| - // Set up the roots register.
|
| - ExternalReference roots_array_start =
|
| - ExternalReference::roots_array_start(masm->isolate());
|
| - __ li(s6, Operand(roots_array_start));
|
| + __ InitializeRootRegister();
|
|
|
| // Push the function and the receiver onto the stack.
|
| __ Push(a1, a2);
|
|
|