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; |