[llvm] r196089 - XCore: Unbreak C++11 build.
Benjamin Kramer
benny.kra at googlemail.com
Mon Dec 2 02:29:26 PST 2013
Author: d0k
Date: Mon Dec 2 04:29:26 2013
New Revision: 196089
URL: http://llvm.org/viewvc/llvm-project?rev=196089&view=rev
Log:
XCore: Unbreak C++11 build.
Modified:
llvm/trunk/lib/Target/XCore/XCoreFrameLowering.cpp
Modified: llvm/trunk/lib/Target/XCore/XCoreFrameLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/XCore/XCoreFrameLowering.cpp?rev=196089&r1=196088&r2=196089&view=diff
==============================================================================
--- llvm/trunk/lib/Target/XCore/XCoreFrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/XCore/XCoreFrameLowering.cpp Mon Dec 2 04:29:26 2013
@@ -121,13 +121,13 @@ static void GetSpillList(SmallVectorImpl
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));
}
More information about the llvm-commits
mailing list