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

Unified Diff: runtime/vm/stub_code.h

Issue 203523011: Introduce a lazy-compile stub for functions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: rebased & added MIPS code Created 6 years, 9 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/stub_code.h
===================================================================
--- runtime/vm/stub_code.h (revision 34118)
+++ runtime/vm/stub_code.h (working copy)
@@ -22,6 +22,8 @@
#define VM_STUB_CODE_LIST(V) \
V(PrintStopMessage) \
V(CallToRuntime) \
+ V(LazyCompile) \
+ V(LazyCompileClosure) \
V(CallBootstrapCFunction) \
V(CallNativeCFunction) \
V(AllocateArray) \
@@ -76,6 +78,7 @@
const ExternalLabel& label() const { return label_; }
uword EntryPoint() const { return entry_point_; }
+ RawCode* code() const { return code_; }
intptr_t Size() const { return size_; }
// Visit all object pointers.

Powered by Google App Engine
This is Rietveld 408576698