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

Unified Diff: runtime/vm/object.h

Issue 11418046: First part of static call cleanup: store static call targets into code object, referenced by code-o… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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/object.h
===================================================================
--- runtime/vm/object.h (revision 15037)
+++ runtime/vm/object.h (working copy)
@@ -2486,6 +2486,14 @@
void set_stackmaps(const Array& maps) const;
RawStackmap* GetStackmap(uword pc, Array* stackmaps, Stackmap* map) const;
+ void set_static_calls_target_table(const Array& value) const;
+ RawArray* static_calls_target_table() const {
+ return raw_ptr()->static_calls_target_table_;
+ }
+
+ // Returns null if there is no static call at 'pc'.
+ static RawFunction* GetStaticCallTargetAt(uword pc);
siva 2012/11/16 23:15:23 It might make sense to also have an instance metho
srdjan 2012/11/17 00:47:24 Changed as discussed
+
RawGrowableObjectArray* resolved_static_calls() const {
return raw_ptr()->resolved_static_calls_;
}

Powered by Google App Engine
This is Rietveld 408576698