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

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 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
« no previous file with comments | « runtime/vm/runtime_entry_test.cc ('k') | runtime/vm/stub_code_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code.h
===================================================================
--- runtime/vm/stub_code.h (revision 34642)
+++ runtime/vm/stub_code.h (working copy)
@@ -22,6 +22,7 @@
#define VM_STUB_CODE_LIST(V) \
V(PrintStopMessage) \
V(CallToRuntime) \
+ V(LazyCompile) \
V(CallBootstrapCFunction) \
V(CallNativeCFunction) \
V(AllocateArray) \
@@ -41,7 +42,6 @@
V(JumpToExceptionHandler) \
V(UnoptimizedIdenticalWithNumberCheck) \
V(OptimizedIdenticalWithNumberCheck) \
- V(CompileFunctionRuntimeCall) \
// Is it permitted for the stubs above to refer to Object::null(), which is
// allocated in the VM isolate and shared across all isolates.
@@ -76,6 +76,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.
« no previous file with comments | « runtime/vm/runtime_entry_test.cc ('k') | runtime/vm/stub_code_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698