| Index: src/a64/stub-cache-a64.cc
|
| diff --git a/src/a64/stub-cache-a64.cc b/src/a64/stub-cache-a64.cc
|
| index 544f38c1a28127ffe01799defbbf9214cbcbb0ad..517556b801358e15924e3f0aea7ffb1f8cee69e1 100644
|
| --- a/src/a64/stub-cache-a64.cc
|
| +++ b/src/a64/stub-cache-a64.cc
|
| @@ -754,16 +754,14 @@ void StubCompiler::GenerateFastApiCall(MacroAssembler* masm,
|
| int argc,
|
| Register* values) {
|
| ASSERT(!AreAliased(receiver, scratch));
|
| -
|
| - MacroAssembler::PushPopQueue queue(masm);
|
| - queue.Queue(receiver);
|
| - // Write the arguments to the stack frame.
|
| + __ Push(receiver);
|
| + // Write the arguments to stack frame.
|
| for (int i = 0; i < argc; i++) {
|
| + // TODO(jbramley): Push these in as few Push() calls as possible.
|
| Register arg = values[argc-1-i];
|
| ASSERT(!AreAliased(receiver, scratch, arg));
|
| - queue.Queue(arg);
|
| + __ Push(arg);
|
| }
|
| - queue.PushQueued();
|
|
|
| ASSERT(optimization.is_simple_api_call());
|
|
|
|
|