[llvm] r227408 - Remove unused variable
Reid Kleckner
reid at kleckner.net
Wed Jan 28 16:55:44 PST 2015
Author: rnk
Date: Wed Jan 28 18:55:44 2015
New Revision: 227408
URL: http://llvm.org/viewvc/llvm-project?rev=227408&view=rev
Log:
Remove unused variable
Modified:
llvm/trunk/lib/CodeGen/WinEHPrepare.cpp
Modified: llvm/trunk/lib/CodeGen/WinEHPrepare.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/WinEHPrepare.cpp?rev=227408&r1=227407&r2=227408&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/WinEHPrepare.cpp (original)
+++ llvm/trunk/lib/CodeGen/WinEHPrepare.cpp Wed Jan 28 18:55:44 2015
@@ -87,8 +87,6 @@ bool WinEHPrepare::runOnFunction(Functio
if (Resumes.empty())
return false;
- Function *Trap =
- Intrinsic::getDeclaration(Fn.getParent(), Intrinsic::trap, None);
for (ResumeInst *Resume : Resumes) {
IRBuilder<>(Resume).CreateUnreachable();
Resume->eraseFromParent();
More information about the llvm-commits
mailing list