mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 17:39:16 +00:00
XCore: Unbreak C++11 build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196089 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
41d4ed4ed0
commit
ee97bbfd5c
@ -121,13 +121,13 @@ static void GetSpillList(SmallVectorImpl<std::pair<unsigned,int> > &SpillList,
|
||||
int LRSpillOffset = fetchLR? MFI->getObjectOffset(XFI->getLRSpillSlot()) : 0;
|
||||
int FPSpillOffset = fetchFP? MFI->getObjectOffset(XFI->getFPSpillSlot()) : 0;
|
||||
if (fetchLR && fetchFP && LRSpillOffset > FPSpillOffset) {
|
||||
SpillList.push_back(std::make_pair<unsigned,int>(XCore::LR,LRSpillOffset));
|
||||
SpillList.push_back(std::pair<unsigned, int>(XCore::LR, LRSpillOffset));
|
||||
fetchLR = false;
|
||||
}
|
||||
if (fetchFP)
|
||||
SpillList.push_back(std::make_pair<unsigned,int>(FramePtr, FPSpillOffset));
|
||||
SpillList.push_back(std::pair<unsigned, int>(FramePtr, FPSpillOffset));
|
||||
if (fetchLR)
|
||||
SpillList.push_back(std::make_pair<unsigned,int>(XCore::LR,LRSpillOffset));
|
||||
SpillList.push_back(std::pair<unsigned, int>(XCore::LR, LRSpillOffset));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user