diff options
author | Diana Picus <diana.picus@linaro.org> | 2017-04-11 10:07:12 +0000 |
---|---|---|
committer | Diana Picus <diana.picus@linaro.org> | 2017-04-11 10:07:12 +0000 |
commit | b050c7fbe0b2a40fa51c8235083d9a4bd4c38dac (patch) | |
tree | 0d0c8e860c034407198d77f05d83ee9b091afc81 /llvm/lib/CodeGen/TargetLoweringBase.cpp | |
parent | d4fa2e634876672a680a300442ed917761a8c3ff (diff) | |
download | bcm5719-llvm-b050c7fbe0b2a40fa51c8235083d9a4bd4c38dac.tar.gz bcm5719-llvm-b050c7fbe0b2a40fa51c8235083d9a4bd4c38dac.zip |
Revert "Turn some C-style vararg into variadic templates"
This reverts commit r299925 because it broke the buildbots. See e.g.
http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15/builds/6008
llvm-svn: 299928
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetLoweringBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp index 27630a3055c..fc147633966 100644 --- a/llvm/lib/CodeGen/TargetLoweringBase.cpp +++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp @@ -1818,7 +1818,7 @@ Value *TargetLoweringBase::getSafeStackPointerLocation(IRBuilder<> &IRB) const { Module *M = IRB.GetInsertBlock()->getParent()->getParent(); Type *StackPtrTy = Type::getInt8PtrTy(M->getContext()); Value *Fn = M->getOrInsertFunction("__safestack_pointer_address", - StackPtrTy->getPointerTo(0)); + StackPtrTy->getPointerTo(0), nullptr); return IRB.CreateCall(Fn); } |