Chromium Code Reviews| Index: runtime/vm/flow_graph_compiler_ia32.cc |
| =================================================================== |
| --- runtime/vm/flow_graph_compiler_ia32.cc (revision 14798) |
| +++ runtime/vm/flow_graph_compiler_ia32.cc (working copy) |
| @@ -1042,6 +1042,27 @@ |
| } |
| +void FlowGraphCompiler::EmitOptimizedInstanceCall( |
| + ExternalLabel* target_label, |
| + const ICData& ic_data, |
| + const Array& arguments_descriptor, |
| + intptr_t argument_count, |
| + intptr_t deopt_id, |
| + intptr_t token_pos, |
| + LocationSummary* locs) { |
| + // Load top function since it may not correspond to the ICData function. |
|
Kevin Millikin (Google)
2012/11/13 17:56:53
Expand this comment to include why it can be diffe
srdjan
2012/11/13 18:21:39
Done:
// Each ICData propagated from unoptimize
|
| + __ LoadObject(EDI, parsed_function().function()); |
| + __ LoadObject(ECX, ic_data); |
| + __ LoadObject(EDX, arguments_descriptor); |
| + GenerateDartCall(deopt_id, |
| + token_pos, |
| + target_label, |
| + PcDescriptors::kIcCall, |
| + locs); |
| + __ Drop(argument_count); |
| +} |
| + |
| + |
| void FlowGraphCompiler::EmitInstanceCall(ExternalLabel* target_label, |
| const ICData& ic_data, |
| const Array& arguments_descriptor, |