| Index: runtime/vm/flow_graph_compiler_ia32.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_compiler_ia32.cc (revision 26825)
|
| +++ runtime/vm/flow_graph_compiler_ia32.cc (working copy)
|
| @@ -618,6 +618,7 @@
|
| GenerateCallRuntime(token_pos,
|
| deopt_id,
|
| kInstanceofRuntimeEntry,
|
| + 5,
|
| locs);
|
| // Pop the parameters supplied to the runtime entry. The result of the
|
| // instanceof runtime call will be left as the result of the operation.
|
| @@ -705,6 +706,7 @@
|
| GenerateCallRuntime(token_pos,
|
| deopt_id,
|
| kMalformedTypeErrorRuntimeEntry,
|
| + 3,
|
| locs);
|
| // We should never return here.
|
| __ int3();
|
| @@ -731,7 +733,7 @@
|
| __ PushObject(dst_name); // Push the name of the destination.
|
| __ LoadObject(EAX, test_cache);
|
| __ pushl(EAX);
|
| - GenerateCallRuntime(token_pos, deopt_id, kTypeCheckRuntimeEntry, locs);
|
| + GenerateCallRuntime(token_pos, deopt_id, kTypeCheckRuntimeEntry, 6, locs);
|
| // Pop the parameters supplied to the runtime entry. The result of the
|
| // type check runtime call is the checked value.
|
| __ Drop(6);
|
| @@ -1263,8 +1265,9 @@
|
| void FlowGraphCompiler::GenerateCallRuntime(intptr_t token_pos,
|
| intptr_t deopt_id,
|
| const RuntimeEntry& entry,
|
| + intptr_t argument_count,
|
| LocationSummary* locs) {
|
| - __ CallRuntime(entry);
|
| + __ CallRuntime(entry, argument_count);
|
| AddCurrentDescriptor(PcDescriptors::kOther, deopt_id, token_pos);
|
| RecordSafepoint(locs);
|
| if (deopt_id != Isolate::kNoDeoptId) {
|
|
|