| Index: runtime/vm/stub_code_ia32.cc
|
| ===================================================================
|
| --- runtime/vm/stub_code_ia32.cc (revision 39693)
|
| +++ runtime/vm/stub_code_ia32.cc (working copy)
|
| @@ -1196,7 +1196,6 @@
|
| // Input parameters:
|
| // ESP : points to return address.
|
| // ESP + 4 : address of last argument.
|
| -// ECX : ic-data.
|
| // EDX : arguments descriptor array.
|
| // Uses EAX, EBX, EDI as temporary registers.
|
| void StubCode::GenerateCallNoSuchMethodFunctionStub(Assembler* assembler) {
|
| @@ -1210,17 +1209,17 @@
|
| Immediate(reinterpret_cast<intptr_t>(Object::null()));
|
| __ pushl(raw_null); // Setup space on stack for result from noSuchMethod.
|
| __ pushl(EAX); // Receiver.
|
| - __ pushl(ECX); // IC data array.
|
| __ pushl(EDX); // Arguments descriptor array.
|
|
|
| __ movl(EDX, EDI);
|
| // EDX: Smi-tagged arguments array length.
|
| PushArgumentsArray(assembler);
|
|
|
| - __ CallRuntime(kInvokeNoSuchMethodFunctionRuntimeEntry, 4);
|
| + const intptr_t kNumArgs = 3;
|
| + __ CallRuntime(kInvokeNoSuchMethodFunctionRuntimeEntry, kNumArgs);
|
|
|
| // Remove arguments.
|
| - __ Drop(4);
|
| + __ Drop(kNumArgs);
|
| __ popl(EAX); // Get result into EAX.
|
|
|
| // Remove the stub frame as we are about to return.
|
|
|