mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Fixing a build error
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234045 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3c430466e9
commit
bd2c26b992
@ -875,7 +875,7 @@ bool WinEHPrepare::outlineHandler(ActionHandler *Action, Function *SrcFn,
|
||||
// save the association of the blocks in LPadTargetBlocks. The
|
||||
// return instructions which are created from these branches will be
|
||||
// replaced after all landing pads have been outlined.
|
||||
for (auto &MapEntry : VMap) {
|
||||
for (const auto &MapEntry : VMap) {
|
||||
// VMap maps all values and blocks that were just cloned, but dead
|
||||
// blocks which were pruned will map to nullptr.
|
||||
if (!isa<BasicBlock>(MapEntry.first) || MapEntry.second == nullptr)
|
||||
|
Loading…
Reference in New Issue
Block a user