summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalUnion.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-06-05 23:07:19 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-06-05 23:07:19 +0000
commit46d229c5735a9b2fa5ddc2189e9d88e511d69665 (patch)
tree852c85f25887304355118fb2b6b09dd7872e6739 /llvm/lib/CodeGen/LiveIntervalUnion.h
parent7ba769bedd02e38eacf0ca6ea06c6084c103432f (diff)
downloadbcm5719-llvm-46d229c5735a9b2fa5ddc2189e9d88e511d69665.tar.gz
bcm5719-llvm-46d229c5735a9b2fa5ddc2189e9d88e511d69665.zip
Don't print register names in LiveIntervalUnion::print().
Soon we'll be making LiveIntervalUnions for register units as well. This was the only place using the RepReg member, so just remove it. llvm-svn: 158038
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalUnion.h')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalUnion.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalUnion.h b/llvm/lib/CodeGen/LiveIntervalUnion.h
index dbf5ac122d5..4925abf6390 100644
--- a/llvm/lib/CodeGen/LiveIntervalUnion.h
+++ b/llvm/lib/CodeGen/LiveIntervalUnion.h
@@ -60,13 +60,11 @@ public:
class Query;
private:
- const unsigned RepReg; // representative register number
unsigned Tag; // unique tag for current contents.
LiveSegments Segments; // union of virtual reg segments
public:
- LiveIntervalUnion(unsigned r, Allocator &a) : RepReg(r), Tag(0), Segments(a)
- {}
+ explicit LiveIntervalUnion(Allocator &a) : Tag(0), Segments(a) {}
// Iterate over all segments in the union of live virtual registers ordered
// by their starting position.
OpenPOWER on IntegriCloud