mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +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())
|
if (Resumes.empty())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
Function *Trap =
|
|
||||||
Intrinsic::getDeclaration(Fn.getParent(), Intrinsic::trap, None);
|
|
||||||
for (ResumeInst *Resume : Resumes) {
|
for (ResumeInst *Resume : Resumes) {
|
||||||
IRBuilder<>(Resume).CreateUnreachable();
|
IRBuilder<>(Resume).CreateUnreachable();
|
||||||
Resume->eraseFromParent();
|
Resume->eraseFromParent();
|
||||||
|
Loading…
Reference in New Issue
Block a user