File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
llvm/include/llvm/CodeGen Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,6 @@ struct WasmEHFuncInfo {
50
50
}
51
51
void setUnwindDest (const BasicBlock *BB, const BasicBlock *Dest) {
52
52
SrcToUnwindDest[BB] = Dest;
53
- if (!UnwindDestToSrcs.count (Dest))
54
- UnwindDestToSrcs[Dest] = SmallPtrSet<BBOrMBB, 4 >();
55
53
UnwindDestToSrcs[Dest].insert (BB);
56
54
}
57
55
bool hasUnwindDest (const BasicBlock *BB) const {
@@ -76,8 +74,6 @@ struct WasmEHFuncInfo {
76
74
}
77
75
void setUnwindDest (MachineBasicBlock *MBB, MachineBasicBlock *Dest) {
78
76
SrcToUnwindDest[MBB] = Dest;
79
- if (!UnwindDestToSrcs.count (Dest))
80
- UnwindDestToSrcs[Dest] = SmallPtrSet<BBOrMBB, 4 >();
81
77
UnwindDestToSrcs[Dest].insert (MBB);
82
78
}
83
79
bool hasUnwindDest (MachineBasicBlock *MBB) const {
You can’t perform that action at this time.
0 commit comments