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

Unified Diff: runtime/vm/stub_code.h

Issue 1418863003: Precompilation: Generate instance calls as IC calls that can switch to Megamoprhic calls. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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/stub_code.h
diff --git a/runtime/vm/stub_code.h b/runtime/vm/stub_code.h
index bad4a86091688e3d311db669cd71d8928177b246..f451638f9fc481374e132208dc61024456a86241 100644
--- a/runtime/vm/stub_code.h
+++ b/runtime/vm/stub_code.h
@@ -35,6 +35,7 @@ class SnapshotWriter;
V(OptimizeFunction) \
V(InvokeDartCode) \
V(DebugStepCheck) \
+ V(ICLookup) \
V(MegamorphicLookup) \
V(FixAllocationStubTarget) \
V(Deoptimize) \
@@ -60,7 +61,7 @@ class SnapshotWriter;
V(Subtype1TestCache) \
V(Subtype2TestCache) \
V(Subtype3TestCache) \
- V(CallClosureNoSuchMethod)
+ V(CallClosureNoSuchMethod) \
// Is it permitted for the stubs above to refer to Object::null(), which is
// allocated in the VM isolate and shared across all isolates.
@@ -139,8 +140,7 @@ class StubCode : public AllStatic {
static const intptr_t kNoInstantiator = 0;
- static void EmitMegamorphicLookup(
- Assembler*, Register recv, Register cache, Register target);
+ static void EmitMegamorphicLookup(Assembler* assembler);
private:
friend class MegamorphicCacheTable;

Powered by Google App Engine
This is Rietveld 408576698