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

Unified Diff: runtime/vm/object.h

Issue 1261673004: Non-tree-shaking --precompile. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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/native_api_impl.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index e3ea9fadc00912cb0b7776e17f74429e3d4e6ba7..aa13d53c80fbf1b482cce62732f018ef17bc0b93 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2944,6 +2944,11 @@ class Field : public Object {
void EvaluateInitializer() const;
+ RawFunction* initializer() const {
+ return raw_ptr()->initializer_;
+ }
+ void set_initializer(const Function& initializer) const;
+
// For static fields only. Constructs a closure that gets/sets the
// field value.
RawInstance* GetterClosure() const;
« no previous file with comments | « runtime/vm/native_api_impl.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698