projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f77571a
)
Remove unused variable
author
Reid Kleckner
<reid@kleckner.net>
Thu, 29 Jan 2015 00:55:44 +0000
(
00:55
+0000)
committer
Reid Kleckner
<reid@kleckner.net>
Thu, 29 Jan 2015 00:55:44 +0000
(
00:55
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227408
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/WinEHPrepare.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/WinEHPrepare.cpp
b/lib/CodeGen/WinEHPrepare.cpp
index a01adcd43d05ab34e7c28ee038683783547d4c63..f9767384467baa51f80976a3052886f790ffdedb 100644
(file)
--- a/
lib/CodeGen/WinEHPrepare.cpp
+++ b/
lib/CodeGen/WinEHPrepare.cpp
@@
-87,8
+87,6
@@
bool WinEHPrepare::runOnFunction(Function &Fn) {
if (Resumes.empty())
return false;
- Function *Trap =
- Intrinsic::getDeclaration(Fn.getParent(), Intrinsic::trap, None);
for (ResumeInst *Resume : Resumes) {
IRBuilder<>(Resume).CreateUnreachable();
Resume->eraseFromParent();