| Index: runtime/vm/code_generator_x64.cc
|
| ===================================================================
|
| --- runtime/vm/code_generator_x64.cc (revision 6277)
|
| +++ runtime/vm/code_generator_x64.cc (working copy)
|
| @@ -1345,7 +1345,10 @@
|
| __ PushObject(Object::ZoneHandle()); // Make room for the result.
|
| const Immediate location =
|
| Immediate(reinterpret_cast<int64_t>(Smi::New(token_index)));
|
| + const Immediate node_id_as_smi =
|
| + Immediate(reinterpret_cast<int64_t>(Smi::New(node_id)));
|
| __ pushq(location); // Push the source location.
|
| + __ pushq(node_id_as_smi);
|
| __ pushq(RAX); // Push the instance.
|
| __ PushObject(type); // Push the type.
|
| if (!type.IsInstantiated()) {
|
| @@ -1356,7 +1359,7 @@
|
| GenerateCallRuntime(node_id, token_index, kInstanceofRuntimeEntry);
|
| // Pop the two parameters supplied to the runtime entry. The result of the
|
| // instanceof runtime call will be left as the result of the operation.
|
| - __ addq(RSP, Immediate(4 * kWordSize));
|
| + __ addq(RSP, Immediate(5 * kWordSize));
|
| if (negate_result) {
|
| Label negate_done;
|
| __ popq(RDX);
|
|
|