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

Unified Diff: runtime/vm/object.h

Issue 1400193003: Don't assume at least one closure function is encountered before tree-shaking. Allow… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index db42cf84675cd0efe042e0a80496f26aad57ae21..df1953f20d253e41ee7eab54e93bde884cce0c22 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -1183,6 +1183,7 @@ class Class : public Object {
RawGrowableObjectArray* closures() const {
return raw_ptr()->closure_functions_;
}
+ void set_closures(const GrowableObjectArray& value) const;
void AddClosureFunction(const Function& function) const;
RawFunction* LookupClosureFunction(intptr_t token_pos) const;
intptr_t FindClosureIndex(const Function& function) const;

Powered by Google App Engine
This is Rietveld 408576698