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

Unified Diff: vm/stub_code.h

Issue 8827015: Implement two-argument check inline cache. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 9 years 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: vm/stub_code.h
===================================================================
--- vm/stub_code.h (revision 2318)
+++ vm/stub_code.h (working copy)
@@ -46,7 +46,8 @@
#define STUB_CODE_LIST(V) \
V(InvokeDartCode) \
V(AllocateContext) \
- V(InlineCache) \
+ V(OneArgCheckInlineCache) \
+ V(TwoArgsCheckInlineCache) \
V(BreakpointDynamic) \
@@ -173,6 +174,8 @@
const Class& cls);
static void GenerateAllocationStubForClosure(Assembler* assembler,
const Function& func);
+ static void GenerateNArgsCheckInlineCacheStub(Assembler* assembler,
+ intptr_t num_args);
};
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698