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

Unified Diff: runtime/vm/flow_graph_allocator.h

Issue 12871010: Replace scalarlist optimizations and split external array loads into two IL instructions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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
« no previous file with comments | « runtime/vm/deopt_instructions.cc ('k') | runtime/vm/flow_graph_allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_allocator.h
===================================================================
--- runtime/vm/flow_graph_allocator.h (revision 20148)
+++ runtime/vm/flow_graph_allocator.h (working copy)
@@ -227,7 +227,7 @@
MoveOperands* AddMoveAt(intptr_t pos, Location to, Location from);
- Location MakeRegisterLocation(intptr_t reg, Location::Representation rep) {
+ Location MakeRegisterLocation(intptr_t reg, Representation rep) {
return Location::MachineRegisterLocation(register_kind_, reg, rep);
}
@@ -237,9 +237,8 @@
ReachingDefs reaching_defs_;
- // Set of SSA values that have unboxed mint representation. Indexed
- // by SSA temp index.
- BitVector* mint_values_;
+ // Representation for SSA values indexed by SSA temp index.
+ GrowableArray<Representation> value_representations_;
const GrowableArray<BlockEntryInstr*>& block_order_;
const GrowableArray<BlockEntryInstr*>& postorder_;
@@ -527,7 +526,7 @@
// LiveRange represents a sequence of UseIntervals for a given SSA value.
class LiveRange : public ZoneAllocated {
public:
- explicit LiveRange(intptr_t vreg, Location::Representation rep)
+ explicit LiveRange(intptr_t vreg, Representation rep)
: vreg_(vreg),
representation_(rep),
assigned_location_(),
@@ -546,7 +545,7 @@
static LiveRange* MakeTemp(intptr_t pos, Location* location_slot);
intptr_t vreg() const { return vreg_; }
- Location::Representation representation() const { return representation_; }
+ Representation representation() const { return representation_; }
LiveRange* next_sibling() const { return next_sibling_; }
UsePosition* first_use() const { return uses_; }
void set_first_use(UsePosition* use) { uses_ = use; }
@@ -618,7 +617,7 @@
private:
LiveRange(intptr_t vreg,
- Location::Representation rep,
+ Representation rep,
UsePosition* uses,
UseInterval* first_use_interval,
UseInterval* last_use_interval,
@@ -639,7 +638,7 @@
}
const intptr_t vreg_;
- Location::Representation representation_;
+ Representation representation_;
Location assigned_location_;
Location spill_slot_;
« no previous file with comments | « runtime/vm/deopt_instructions.cc ('k') | runtime/vm/flow_graph_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698