| Index: src/arm/macro-assembler-arm.cc
|
| ===================================================================
|
| --- src/arm/macro-assembler-arm.cc (revision 3744)
|
| +++ src/arm/macro-assembler-arm.cc (working copy)
|
| @@ -1035,9 +1035,13 @@
|
| return;
|
| }
|
|
|
| - Runtime::FunctionId function_id =
|
| - static_cast<Runtime::FunctionId>(f->stub_id);
|
| - RuntimeStub stub(function_id, num_arguments);
|
| + // TODO(1236192): Most runtime routines don't need the number of
|
| + // arguments passed in because it is constant. At some point we
|
| + // should remove this need and make the runtime routine entry code
|
| + // smarter.
|
| + mov(r0, Operand(num_arguments));
|
| + mov(r1, Operand(ExternalReference(f)));
|
| + CEntryStub stub(1);
|
| CallStub(&stub);
|
| }
|
|
|
|
|