summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Doffman <mark.doffman@codethink.co.uk>2015-01-01 21:30:45 +0000
committerMark Doffman <mark.doffman@codethink.co.uk>2015-01-01 21:30:45 +0000
commitac65ee5df6b67cc3af1491efe5a157bf9fffca17 (patch)
tree9d5cbbf0f7f64a2a7a5b9c751c3e99455f86043e
parent7118740b5c5c8daeb09db7b7e4302d50853573ac (diff)
downloadflang-ac65ee5df6b67cc3af1491efe5a157bf9fffca17.tar.gz
Remove Nonce call names.
Nonce call names were causing assert due to void retrun types & not neccessary.
-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())