| Index: src/arm/codegen-arm.cc
|
| ===================================================================
|
| --- src/arm/codegen-arm.cc (revision 3578)
|
| +++ src/arm/codegen-arm.cc (working copy)
|
| @@ -5098,12 +5098,10 @@
|
| }
|
|
|
| __ bind(&slow);
|
| - __ push(lr);
|
| __ push(r1);
|
| __ push(r0);
|
| // Figure out which native to call and setup the arguments.
|
| Builtins::JavaScript native;
|
| - int arg_count = 1; // Not counting receiver.
|
| if (cc_ == eq) {
|
| native = strict_ ? Builtins::STRICT_EQUALS : Builtins::EQUALS;
|
| } else {
|
| @@ -5115,16 +5113,13 @@
|
| ASSERT(cc_ == gt || cc_ == ge); // remaining cases
|
| ncr = LESS;
|
| }
|
| - arg_count++;
|
| __ mov(r0, Operand(Smi::FromInt(ncr)));
|
| __ push(r0);
|
| }
|
|
|
| // Call the native; it returns -1 (less), 0 (equal), or 1 (greater)
|
| // tagged as a small integer.
|
| - __ InvokeBuiltin(native, CALL_JS);
|
| - __ cmp(r0, Operand(0));
|
| - __ pop(pc);
|
| + __ InvokeBuiltin(native, JUMP_JS);
|
| }
|
|
|
|
|
|
|