mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +00:00
[C++11] Replace llvm::tie with std::tie.
The old implementation is no longer needed in C++11. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202644 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -459,7 +459,7 @@ void LiveIntervals::pruneValue(LiveInterval *LI, SlotIndex Kill,
|
||||
|
||||
MachineBasicBlock *KillMBB = Indexes->getMBBFromIndex(Kill);
|
||||
SlotIndex MBBStart, MBBEnd;
|
||||
tie(MBBStart, MBBEnd) = Indexes->getMBBRange(KillMBB);
|
||||
std::tie(MBBStart, MBBEnd) = Indexes->getMBBRange(KillMBB);
|
||||
|
||||
// If VNI isn't live out from KillMBB, the value is trivially pruned.
|
||||
if (LRQ.endPoint() < MBBEnd) {
|
||||
@@ -486,7 +486,7 @@ void LiveIntervals::pruneValue(LiveInterval *LI, SlotIndex Kill,
|
||||
MachineBasicBlock *MBB = *I;
|
||||
|
||||
// Check if VNI is live in to MBB.
|
||||
tie(MBBStart, MBBEnd) = Indexes->getMBBRange(MBB);
|
||||
std::tie(MBBStart, MBBEnd) = Indexes->getMBBRange(MBB);
|
||||
LiveQueryResult LRQ = LI->Query(MBBStart);
|
||||
if (LRQ.valueIn() != VNI) {
|
||||
// This block isn't part of the VNI segment. Prune the search.
|
||||
|
||||
Reference in New Issue
Block a user