diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-16 19:46:52 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-16 19:46:52 +0000 | 
| commit | 6b3f41ed88e8e440e11a4fbf20b6600529f80049 (patch) | |
| tree | 928b056f24a634d628c80238dbbf10d41b1a71d5 /lib/Transforms/Utils/EscapeEnumerator.cpp | |
| parent | c46e6a5940c50058e00c0c5f9123fd82e338d29a (diff) | |
Notes
Diffstat (limited to 'lib/Transforms/Utils/EscapeEnumerator.cpp')
| -rw-r--r-- | lib/Transforms/Utils/EscapeEnumerator.cpp | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/lib/Transforms/Utils/EscapeEnumerator.cpp b/lib/Transforms/Utils/EscapeEnumerator.cpp index 8c2386554da56..78d7474e5b954 100644 --- a/lib/Transforms/Utils/EscapeEnumerator.cpp +++ b/lib/Transforms/Utils/EscapeEnumerator.cpp @@ -67,8 +67,7 @@ IRBuilder<> *EscapeEnumerator::Next() {    // Create a cleanup block.    LLVMContext &C = F.getContext();    BasicBlock *CleanupBB = BasicBlock::Create(C, CleanupBBName, &F); -  Type *ExnTy = -      StructType::get(Type::getInt8PtrTy(C), Type::getInt32Ty(C), nullptr); +  Type *ExnTy = StructType::get(Type::getInt8PtrTy(C), Type::getInt32Ty(C));    if (!F.hasPersonalityFn()) {      Constant *PersFn = getDefaultPersonalityFn(F.getParent());      F.setPersonalityFn(PersFn); | 
