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

Unified Diff: runtime/vm/flow_graph.h

Issue 23589008: Clean up handling of guarded fields in the flow graph builder. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 3 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/compiler.cc ('k') | runtime/vm/flow_graph.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph.h
===================================================================
--- runtime/vm/flow_graph.h (revision 27696)
+++ runtime/vm/flow_graph.h (working copy)
@@ -197,6 +197,13 @@
bool IsCompiledForOsr() const { return graph_entry()->IsCompiledForOsr(); }
+ static void AddToGuardedFields(const Field* field,
Kevin Millikin (Google) 2013/09/20 12:04:28 I like reversing the arguments here, because it ma
Florian Schneider 2013/09/20 12:13:50 Done.
+ ZoneGrowableArray<const Field*>* array);
+
+ ZoneGrowableArray<const Field*>* guarded_fields() const {
+ return guarded_fields_;
+ }
+
private:
friend class IfConverter;
friend class BranchSimplifier;
@@ -269,6 +276,7 @@
ZoneGrowableArray<BlockEntryInstr*>* loop_headers_;
ZoneGrowableArray<BitVector*>* loop_invariant_loads_;
+ ZoneGrowableArray<const Field*>* guarded_fields_;
};
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698