mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
Fixing build warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234043 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cf57d81b6e
commit
3c430466e9
@ -682,7 +682,6 @@ void WinEHPrepare::completeNestedLandingPad(Function *ParentFn,
|
||||
// and remap return instructions in the nested handlers that should return
|
||||
// to an address in the outlined handler.
|
||||
Function *OutlinedHandlerFn = OutlinedBB->getParent();
|
||||
const BasicBlock *OriginalBB = OriginalLPad->getParent();
|
||||
BasicBlock::const_iterator II = OriginalLPad;
|
||||
++II;
|
||||
// The instruction after the landing pad should now be a call to eh.actions.
|
||||
@ -693,7 +692,6 @@ void WinEHPrepare::completeNestedLandingPad(Function *ParentFn,
|
||||
// Remap the exception variables into the outlined function.
|
||||
WinEHFrameVariableMaterializer Materializer(OutlinedHandlerFn, FrameVarInfo);
|
||||
SmallVector<BlockAddress *, 4> ActionTargets;
|
||||
unsigned NumArgs = EHActions->getNumArgOperands();
|
||||
SmallVector<ActionHandler *, 4> ActionList;
|
||||
parseEHActions(EHActions, ActionList);
|
||||
for (auto *Action : ActionList) {
|
||||
|
Loading…
Reference in New Issue
Block a user