summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Doffman <mark.doffman@codethink.co.uk>2015-01-01 21:42:11 +0000
committerMark Doffman <mark.doffman@codethink.co.uk>2015-01-01 21:42:11 +0000
commitac9b1537ae50fbc2021ac8920259013669909c23 (patch)
treea88f87bdc5f1a694b5c0b20773890c3cb35d5c2a
parent1c93beefcd3eb8a552e50dc30f1405b7d45c2c55 (diff)
parentac65ee5df6b67cc3af1491efe5a157bf9fffca17 (diff)
downloadflang-ac9b1537ae50fbc2021ac8920259013669909c23.tar.gz
Merge branch 'Nonce Fix'
-rw-r--r--lib/CodeGen/CGCall.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp
index d35a48bad0..3baeb8dd28 100644
--- a/lib/CodeGen/CGCall.cpp
+++ b/lib/CodeGen/CGCall.cpp
@@ -187,8 +187,8 @@ RValueTy CodeGenFunction::EmitCall(llvm::Value *Callee,
ArgList.add(ResultTemp);
}
- auto Result = Builder.CreateCall(Callee,
- ArgList.createValues(), "call");
+ auto Result = Builder.CreateCall(Callee,
+ ArgList.createValues());
Result->setCallingConv(FuncInfo->getCallingConv());
if(ReturnsNothing ||
@@ -236,7 +236,7 @@ RValueTy CodeGenFunction::EmitCall(CGFunction Func,
}
auto Result = Builder.CreateCall(Func.getFunction(),
- ArgList.createValues(), "call");
+ ArgList.createValues());
Result->setCallingConv(FuncInfo->getCallingConv());
if(!FuncInfo->getReturnInfo().Type.isNull() &&
FuncInfo->getReturnInfo().Type->isComplexType())