summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocBasic.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-01-11 23:19:08 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-01-11 23:19:08 +0000
commit9384111e90cb840e7eb867098f19910cf4c4a11d (patch)
tree9a2647e970fb0c17a2629d9074dd7094df8ff19d /lib/CodeGen/RegAllocBasic.cpp
parent337a269dece7f14ef0a39f980d5ee45ae3034a8f (diff)
downloadllvm-9384111e90cb840e7eb867098f19910cf4c4a11d.tar.gz
llvm-9384111e90cb840e7eb867098f19910cf4c4a11d.tar.bz2
llvm-9384111e90cb840e7eb867098f19910cf4c4a11d.tar.xz
Make data structures private.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147979 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocBasic.cpp')
-rw-r--r--lib/CodeGen/RegAllocBasic.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/RegAllocBasic.cpp b/lib/CodeGen/RegAllocBasic.cpp
index a659f5b782..53dad76b3c 100644
--- a/lib/CodeGen/RegAllocBasic.cpp
+++ b/lib/CodeGen/RegAllocBasic.cpp
@@ -250,9 +250,9 @@ unsigned RABasic::selectOrSplit(LiveInterval &VirtReg,
// Found an available register.
return PhysReg;
}
- Queries[interfReg].collectInterferingVRegs(1);
- LiveInterval *interferingVirtReg =
- Queries[interfReg].interferingVRegs().front();
+ LiveIntervalUnion::Query &IntfQ = query(VirtReg, interfReg);
+ IntfQ.collectInterferingVRegs(1);
+ LiveInterval *interferingVirtReg = IntfQ.interferingVRegs().front();
// The current VirtReg must either be spillable, or one of its interferences
// must have less spill weight.