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