| Index: runtime/vm/stub_code_x64.cc
|
| ===================================================================
|
| --- runtime/vm/stub_code_x64.cc (revision 25155)
|
| +++ runtime/vm/stub_code_x64.cc (working copy)
|
| @@ -1500,7 +1500,6 @@
|
| __ pushq(RCX);
|
| }
|
| __ pushq(RBX); // Pass IC data object.
|
| - __ pushq(R10); // Pass arguments descriptor array.
|
| if (num_args == 1) {
|
| __ CallRuntime(kInlineCacheMissHandlerOneArgRuntimeEntry);
|
| } else if (num_args == 2) {
|
| @@ -1510,9 +1509,8 @@
|
| } else {
|
| UNIMPLEMENTED();
|
| }
|
| - // Remove the call arguments pushed earlier, including the IC data object
|
| - // and the arguments descriptor array.
|
| - for (intptr_t i = 0; i < num_args + 2; i++) {
|
| + // Remove the call arguments pushed earlier, including the IC data object.
|
| + for (intptr_t i = 0; i < num_args + 1; i++) {
|
| __ popq(RAX);
|
| }
|
| __ popq(RAX); // Pop returned code object into RAX (null if not found).
|
|
|