diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-01-11 23:19:08 +0000 |
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-01-11 23:19:08 +0000 |
| commit | 20f19eb9abae459d607fe2d7339ae31f2365ea2a (patch) | |
| tree | 11c5b6d052b49f70a6946f82b7c2400c23859b00 /llvm/lib/CodeGen/RegAllocBasic.cpp | |
| parent | f0275df9e325d70f1ea3b8a77bb6b77cac8b5ae0 (diff) | |
| download | bcm5719-llvm-20f19eb9abae459d607fe2d7339ae31f2365ea2a.tar.gz bcm5719-llvm-20f19eb9abae459d607fe2d7339ae31f2365ea2a.zip | |
Make data structures private.
llvm-svn: 147979
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBasic.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/RegAllocBasic.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/RegAllocBasic.cpp b/llvm/lib/CodeGen/RegAllocBasic.cpp index a659f5b7825..53dad76b3c2 100644 --- a/llvm/lib/CodeGen/RegAllocBasic.cpp +++ b/llvm/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. |

