summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocBase.cpp
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
commit2fd0923593c4d30691a45ade1e8b0bd484896c3f (patch)
tree2654cceeb5917821d2694c19d49213c05bd682ca /lib/CodeGen/RegAllocBase.cpp
parent05b46f05c3c4efd0972bf3e2e570404e7db72509 (diff)
downloadllvm-2fd0923593c4d30691a45ade1e8b0bd484896c3f.tar.gz
llvm-2fd0923593c4d30691a45ade1e8b0bd484896c3f.tar.bz2
llvm-2fd0923593c4d30691a45ade1e8b0bd484896c3f.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158038 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocBase.cpp')
-rw-r--r--lib/CodeGen/RegAllocBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocBase.cpp b/lib/CodeGen/RegAllocBase.cpp
index 3c91330eca..5b2ec5e5aa 100644
--- a/lib/CodeGen/RegAllocBase.cpp
+++ b/lib/CodeGen/RegAllocBase.cpp
@@ -96,7 +96,7 @@ void RegAllocBase::LiveUnionArray::init(LiveIntervalUnion::Allocator &allocator,
Array =
static_cast<LiveIntervalUnion*>(malloc(sizeof(LiveIntervalUnion)*NRegs));
for (unsigned r = 0; r != NRegs; ++r)
- new(Array + r) LiveIntervalUnion(r, allocator);
+ new(Array + r) LiveIntervalUnion(allocator);
}
void RegAllocBase::init(VirtRegMap &vrm, LiveIntervals &lis) {