Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(510)

Unified Diff: runtime/vm/flow_graph_compiler_ia32.cc

Issue 484693003: Improve polymorphic inlining of int/int double/double operations. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: rebased and addressed comments Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm64.cc ('k') | runtime/vm/flow_graph_compiler_mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler_ia32.cc
===================================================================
--- runtime/vm/flow_graph_compiler_ia32.cc (revision 39445)
+++ runtime/vm/flow_graph_compiler_ia32.cc (working copy)
@@ -1178,15 +1178,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();
- }
+ const uword label_address =
+ stub_code->UnoptimizedStaticCallEntryPoint(ic_data.NumArgsTested());
ExternalLabel target_label(label_address);
__ LoadObject(ECX, ic_data);
GenerateDartCall(deopt_id,
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm64.cc ('k') | runtime/vm/flow_graph_compiler_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698