[llvm] r196089 - XCore: Unbreak C++11 build.
Robert Lytton
robert at xmos.com
Mon Dec 2 02:37:39 PST 2013
Thanks Benjamin.
Robert
________________________________________
From: llvm-commits-bounces at cs.uiuc.edu [llvm-commits-bounces at cs.uiuc.edu] on behalf of Benjamin Kramer [benny.kra at googlemail.com]
Sent: 02 December 2013 10:29
To: llvm-commits at cs.uiuc.edu
Subject: [llvm] r196089 - XCore: Unbreak C++11 build.
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));
}
_______________________________________________
llvm-commits mailing list
llvm-commits at cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list