diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-07-14 17:27:39 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-07-14 17:27:39 +0000 |
commit | c0feed0bb112f2b86d44155fd8dbd24da53a361e (patch) | |
tree | 4ebc7c3a3d696f02a306d325ab9a2156254173b5 /lib/CodeGen/CGObjC.cpp | |
parent | 86f655f141fcee9eaea2fe295956a9da9bd55f1f (diff) |
Rely on default zero-arg value for IRBuilder::CreateCall calls to zero-arg functions
Patch by servuswiegehtz at yahoo.de
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242168 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjC.cpp')
-rw-r--r-- | lib/CodeGen/CGObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGObjC.cpp b/lib/CodeGen/CGObjC.cpp index 4178d48f25..eb76ad1ce1 100644 --- a/lib/CodeGen/CGObjC.cpp +++ b/lib/CodeGen/CGObjC.cpp @@ -2009,7 +2009,7 @@ CodeGenFunction::EmitARCRetainAutoreleasedReturnValue(llvm::Value *value) { // Call the marker asm if we made one, which we do only at -O0. if (marker) - Builder.CreateCall(marker, {}); + Builder.CreateCall(marker); return emitARCValueOperation(*this, value, CGM.getARCEntrypoints().objc_retainAutoreleasedReturnValue, |