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

Unified Diff: runtime/vm/intermediate_language.h

Issue 10800080: Add higher-level accesses to Environment. Print flow graph after register allocation. Most interest… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 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') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.h
===================================================================
--- runtime/vm/intermediate_language.h (revision 9819)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -2482,14 +2482,18 @@
return values_;
}
- GrowableArray<Location>* locations() {
- return &locations_;
+ void AddLocation(Location value) {
+ locations_.Add(value);
}
- const GrowableArray<Location>* locations() const {
- return &locations_;
+ Location LocationAt(intptr_t ix) const {
+ return locations_[ix];
}
+ Location* LocationSlotAt(intptr_t ix) const {
+ return & locations_[ix];
+ }
+
void PrintTo(BufferFormatter* f) const;
private:
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698