summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveInterval.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2009-08-10 23:43:28 +0000
committerLang Hames <lhames@gmail.com>2009-08-10 23:43:28 +0000
commit3b90d973b0aae18c6780fb015195b87fbf0bd7f1 (patch)
treed9e46aba97db71559396cac4b535ed2f7b96c321 /llvm/lib/CodeGen/LiveInterval.cpp
parent9d26c85bdc08c21b47b5e155e7a6d0cdf7cde70b (diff)
downloadbcm5719-llvm-3b90d973b0aae18c6780fb015195b87fbf0bd7f1.tar.gz
bcm5719-llvm-3b90d973b0aae18c6780fb015195b87fbf0bd7f1.zip
Modified VNInfo. The "copy" member is now a union which holds the copy for a register interval, or the defining register for a stack interval. Access is via getCopy/setCopy and getReg/setReg.
llvm-svn: 78620
Diffstat (limited to 'llvm/lib/CodeGen/LiveInterval.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveInterval.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveInterval.cpp b/llvm/lib/CodeGen/LiveInterval.cpp
index 4e63e21b3d7..25edb27d824 100644
--- a/llvm/lib/CodeGen/LiveInterval.cpp
+++ b/llvm/lib/CodeGen/LiveInterval.cpp
@@ -712,7 +712,7 @@ VNInfo* LiveInterval::MergeValueNumberInto(VNInfo *V1, VNInfo *V2) {
// Make sure V2 is smaller than V1.
if (V1->id < V2->id) {
- copyValNumInfo(V1, V2);
+ V1->copyFrom(*V2);
std::swap(V1, V2);
}
OpenPOWER on IntegriCloud