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

Unified Diff: runtime/vm/stub_code.h

Issue 1192103004: VM: New calling convention for generated code. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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
diff --git a/runtime/vm/stub_code.h b/runtime/vm/stub_code.h
index 67e022db9c1635b28f6271b87e3d160a47d63130..cec27d4048f287ecfbe6cb258930e862b3431954 100644
--- a/runtime/vm/stub_code.h
+++ b/runtime/vm/stub_code.h
@@ -145,6 +145,9 @@ class StubCode {
static StubEntry* name##_entry() { \
return name##_entry_; \
} \
+ static RawCode* name##Code() { \
+ return name##_entry()->code(); \
+ } \
static const ExternalLabel& name##Label() { \
return name##_entry()->label(); \
} \
@@ -162,6 +165,9 @@ class StubCode {
StubEntry* name##_entry() { \
return name##_entry_; \
} \
+ RawCode* name##Code() { \
+ return name##_entry()->code(); \
+ } \
const ExternalLabel& name##Label() { \
return name##_entry()->label(); \
} \
@@ -178,6 +184,7 @@ class StubCode {
RawCode* GetAllocateArrayStub();
uword UnoptimizedStaticCallEntryPoint(intptr_t num_args_tested);
+ RawCode* UnoptimizedStaticCallCode(intptr_t num_args_tested);
static const intptr_t kNoInstantiator = 0;

Powered by Google App Engine
This is Rietveld 408576698