Chromium Code Reviews| Index: runtime/vm/flow_graph_compiler_arm.cc |
| =================================================================== |
| --- runtime/vm/flow_graph_compiler_arm.cc (revision 39328) |
| +++ runtime/vm/flow_graph_compiler_arm.cc (working copy) |
| @@ -1296,15 +1296,9 @@ |
| intptr_t token_pos, |
| LocationSummary* locs, |
| const ICData& ic_data) { |
| - uword label_address = 0; |
| StubCode* stub_code = isolate()->stub_code(); |
| - if (ic_data.NumArgsTested() == 0) { |
| - label_address = stub_code->ZeroArgsUnoptimizedStaticCallEntryPoint(); |
| - } else if (ic_data.NumArgsTested() == 2) { |
| - label_address = stub_code->TwoArgsUnoptimizedStaticCallEntryPoint(); |
| - } else { |
| - UNIMPLEMENTED(); |
| - } |
| + uword label_address = |
|
srdjan
2014/08/18 18:04:49
const uword
Florian Schneider
2014/08/18 18:22:57
Done.
|
| + stub_code->UnoptimizedStaticCallEntryPoint(ic_data.NumArgsTested()); |
| ExternalLabel target_label(label_address); |
| __ LoadObject(R5, ic_data); |
| GenerateDartCall(deopt_id, |