| Index: src/mips/builtins-mips.cc
|
| ===================================================================
|
| --- src/mips/builtins-mips.cc (revision 4259)
|
| +++ src/mips/builtins-mips.cc (working copy)
|
| @@ -112,7 +112,7 @@
|
| // s0: argv, ie points to first arg
|
| Label loop, entry;
|
| __ sll(t0, a3, kPointerSizeLog2);
|
| - __ add(t2, s0, t0);
|
| + __ addu(t2, s0, t0);
|
| __ b(&entry);
|
| __ nop(); // Branch delay slot nop.
|
| // t2 points past last arg.
|
| @@ -122,7 +122,7 @@
|
| __ lw(t0, MemOperand(t0)); // Dereference handle.
|
| __ Push(t0); // Push parameter.
|
| __ bind(&entry);
|
| - __ Branch(ne, &loop, s0, Operand(t2));
|
| + __ Branch(&loop, ne, s0, Operand(t2));
|
|
|
| // Registers:
|
| // a0: entry_address
|
| @@ -145,12 +145,12 @@
|
|
|
| // Initialize all JavaScript callee-saved registers, since they will be seen
|
| // by the garbage collector as part of handlers.
|
| - __ LoadRoot(t4, Heap::kUndefinedValueRootIndex);
|
| - __ mov(s1, t4);
|
| - __ mov(s2, t4);
|
| - __ mov(s3, t4);
|
| - __ mov(s4, s4);
|
| - __ mov(s5, t4);
|
| + __ LoadRoot(t0, Heap::kUndefinedValueRootIndex);
|
| + __ mov(s1, t0);
|
| + __ mov(s2, t0);
|
| + __ mov(s3, t0);
|
| + __ mov(s4, t0);
|
| + __ mov(s5, t0);
|
| // s6 holds the root address. Do not clobber.
|
| // s7 is cp. Do not init.
|
|
|
| @@ -158,7 +158,7 @@
|
| __ mov(a0, a3);
|
| if (is_construct) {
|
| UNIMPLEMENTED_MIPS();
|
| - __ break_(0x164);
|
| + __ break_(__LINE__);
|
| } else {
|
| ParameterCount actual(a0);
|
| __ InvokeFunction(a1, actual, CALL_FUNCTION);
|
| @@ -192,7 +192,7 @@
|
|
|
| void Builtins::Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm) {
|
| UNIMPLEMENTED_MIPS();
|
| - __ break_(0x201);
|
| + __ break_(__LINE__);
|
| }
|
|
|
|
|
|
|