aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/CodeGen/WasmEHFuncInfo.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/include/llvm/CodeGen/WasmEHFuncInfo.h b/llvm/include/llvm/CodeGen/WasmEHFuncInfo.h
index 8b55a45..60ee649 100644
--- a/llvm/include/llvm/CodeGen/WasmEHFuncInfo.h
+++ b/llvm/include/llvm/CodeGen/WasmEHFuncInfo.h
@@ -50,8 +50,6 @@ struct WasmEHFuncInfo {
}
void setUnwindDest(const BasicBlock *BB, const BasicBlock *Dest) {
SrcToUnwindDest[BB] = Dest;
- if (!UnwindDestToSrcs.count(Dest))
- UnwindDestToSrcs[Dest] = SmallPtrSet<BBOrMBB, 4>();
UnwindDestToSrcs[Dest].insert(BB);
}
bool hasUnwindDest(const BasicBlock *BB) const {
@@ -76,8 +74,6 @@ struct WasmEHFuncInfo {
}
void setUnwindDest(MachineBasicBlock *MBB, MachineBasicBlock *Dest) {
SrcToUnwindDest[MBB] = Dest;
- if (!UnwindDestToSrcs.count(Dest))
- UnwindDestToSrcs[Dest] = SmallPtrSet<BBOrMBB, 4>();
UnwindDestToSrcs[Dest].insert(MBB);
}
bool hasUnwindDest(MachineBasicBlock *MBB) const {