mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +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:
@ -121,7 +121,7 @@ bool InterferenceCache::Entry::valid(LiveIntervalUnion *LIUArray,
|
||||
|
||||
void InterferenceCache::Entry::update(unsigned MBBNum) {
|
||||
SlotIndex Start, Stop;
|
||||
tie(Start, Stop) = Indexes->getMBBRange(MBBNum);
|
||||
std::tie(Start, Stop) = Indexes->getMBBRange(MBBNum);
|
||||
|
||||
// Use advanceTo only when possible.
|
||||
if (PrevPos != Start) {
|
||||
@ -198,7 +198,7 @@ void InterferenceCache::Entry::update(unsigned MBBNum) {
|
||||
BI = &Blocks[MBBNum];
|
||||
if (BI->Tag == Tag)
|
||||
return;
|
||||
tie(Start, Stop) = Indexes->getMBBRange(MBBNum);
|
||||
std::tie(Start, Stop) = Indexes->getMBBRange(MBBNum);
|
||||
}
|
||||
|
||||
// Check for last interference in block.
|
||||
|
Reference in New Issue
Block a user