mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
Remove unused variable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227408 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f77571aeac
commit
866fe5889e
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user