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

Unified Diff: runtime/vm/flow_graph.h

Issue 12529008: Collect type feedback for fields. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: ensure that not-null constraints are recomputed correctly Created 7 years, 9 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/flow_graph.h
diff --git a/runtime/vm/flow_graph.h b/runtime/vm/flow_graph.h
index 14c298a9ec22526962a85d3d5ab82c932d283998..93a8ef731f6749f789e3222079e16e14b28702d4 100644
--- a/runtime/vm/flow_graph.h
+++ b/runtime/vm/flow_graph.h
@@ -141,6 +141,11 @@ class FlowGraph : public ZoneAllocated {
bool VerifyUseLists();
#endif // DEBUG
+ // Return all instance fields that are loaded in the graph and
+ // have non-generic type feedback attached to them that can
+ // potentially affect optimizations.
+ ZoneGrowableArray<Field*>* FieldDependencies() const;
srdjan 2013/03/18 18:54:35 Return const ZoneGrowableArray<..>& to document th
Vyacheslav Egorov (Google) 2013/03/18 19:41:18 Done.
+
private:
friend class BranchSimplifier;
friend class ConstantPropagator;

Powered by Google App Engine
This is Rietveld 408576698