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

Unified Diff: runtime/vm/flow_graph_compiler_x64.cc

Issue 2131583002: Optimized megamorphic stubs (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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
Index: runtime/vm/flow_graph_compiler_x64.cc
diff --git a/runtime/vm/flow_graph_compiler_x64.cc b/runtime/vm/flow_graph_compiler_x64.cc
index 5cc5c93f5457fd91827c0a0d5047ff539f60618b..ac5b917fa7ff0cb11ce62a27ad066b25c48873cb 100644
--- a/runtime/vm/flow_graph_compiler_x64.cc
+++ b/runtime/vm/flow_graph_compiler_x64.cc
@@ -1347,9 +1347,10 @@ void FlowGraphCompiler::EmitMegamorphicInstanceCall(
__ Bind(&megamorphic_call);
__ Comment("Slow case: megamorphic call");
}
+
Florian Schneider 2016/07/07 17:13:36 Accidental \n?
bakster 2016/07/07 18:00:03 Done.
__ LoadObject(RBX, cache);
if (FLAG_use_megamorphic_stub) {
- __ Call(*StubCode::MegamorphicLookup_entry());
+ __ call(Address(THR, Thread::megamorphic_lookup_entry_point_offset()));
} else {
StubCode::EmitMegamorphicLookup(assembler());
}

Powered by Google App Engine
This is Rietveld 408576698