diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2015-04-03 19:45:32 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2015-04-03 19:45:32 +0000 |
commit | c2eb1426fcaa2f5d043869054946275556b74697 (patch) | |
tree | e5097eeb0aa43f01c8271fc60a687418e306b08e /llvm/lib/CodeGen/WinEHPrepare.cpp | |
parent | 93c5444fe0772e3aa2e5a17c9942d7e08b5a0b2f (diff) | |
download | bcm5719-llvm-c2eb1426fcaa2f5d043869054946275556b74697.tar.gz bcm5719-llvm-c2eb1426fcaa2f5d043869054946275556b74697.zip |
Fixing build warnings.
llvm-svn: 234043
Diffstat (limited to 'llvm/lib/CodeGen/WinEHPrepare.cpp')
-rw-r--r-- | llvm/lib/CodeGen/WinEHPrepare.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/WinEHPrepare.cpp b/llvm/lib/CodeGen/WinEHPrepare.cpp index 838293e3e49..cc225a50092 100644 --- a/llvm/lib/CodeGen/WinEHPrepare.cpp +++ b/llvm/lib/CodeGen/WinEHPrepare.cpp @@ -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) { |