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

Unified Diff: runtime/vm/parser.h

Issue 1712563006: Cleanup access to guarded_fields (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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/flow_graph_optimizer.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/parser.h
diff --git a/runtime/vm/parser.h b/runtime/vm/parser.h
index ebf38d3860419fa26b06797608636061ab54dcb9..dcd03a6d49d15e916c105a22330f71802e2a53f6 100644
--- a/runtime/vm/parser.h
+++ b/runtime/vm/parser.h
@@ -166,6 +166,10 @@ class ParsedFunction : public ZoneAllocated {
Isolate* isolate() const { return thread_->isolate(); }
Zone* zone() const { return thread_->zone(); }
+ // Adds only relevant fields: field must be unique and its guarded_cid()
+ // relevant.
+ void AddToGuardedFields(const Field* field) const;
+
private:
Thread* thread_;
const Function& function_;
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698