Fix build break in this code. Nothing uses this header, but the modules

buildbot builds it anyway and was angry because of this.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232139 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Richard Smith 2015-03-13 03:56:27 +00:00
parent 1bba7511b2
commit e85ccd4227

View File

@ -274,7 +274,7 @@ private:
// Set the compile actions for this module: // Set the compile actions for this module:
for (auto &KVPair : NewStubInfos) { for (auto &KVPair : NewStubInfos) {
std::string BodyName = Mangle(KVPair->first + BodySuffix, std::string BodyName = Mangle(KVPair->first + BodySuffix,
*M.getDataLayout()); M.getDataLayout());
auto &CCInfo = KVPair->second; auto &CCInfo = KVPair->second;
CCInfo.setCompileAction( CCInfo.setCompileAction(
[=](){ [=](){
@ -291,7 +291,7 @@ private:
for (auto &KVPair : StubInfos) { for (auto &KVPair : StubInfos) {
std::string AddrName = Mangle(KVPair.first + AddrSuffix, std::string AddrName = Mangle(KVPair.first + AddrSuffix,
*M.getDataLayout()); M.getDataLayout());
auto &CCInfo = KVPair.second; auto &CCInfo = KVPair.second;
CCInfo.setUpdateAction( CCInfo.setUpdateAction(
CompileCallbackMgr.getLocalFPUpdater(StubsH, AddrName)); CompileCallbackMgr.getLocalFPUpdater(StubsH, AddrName));