diff options
author | Lang Hames <lhames@gmail.com> | 2009-08-10 23:43:28 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2009-08-10 23:43:28 +0000 |
commit | 52c1afcaea61440950a11a4ccadac4354420d727 (patch) | |
tree | 51c79e3aeffd0e16d2fa6d4547857afdb19a2a81 /lib/CodeGen/LiveInterval.cpp | |
parent | 00edf39b3447db1b8dc0030d716ef70675f55755 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78620 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveInterval.cpp')
-rw-r--r-- | lib/CodeGen/LiveInterval.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveInterval.cpp b/lib/CodeGen/LiveInterval.cpp index 4e63e21b3d..25edb27d82 100644 --- a/lib/CodeGen/LiveInterval.cpp +++ b/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); } |