Skip to content

Commit f63b1d2

Browse files
authored
[SelectionDAG] Mark SelectionDAGISel destructor virtual (#94132)
1 parent d2cdc8a commit f63b1d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/CodeGen/SelectionDAGISel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class SelectionDAGISel {
7878

7979
explicit SelectionDAGISel(TargetMachine &tm,
8080
CodeGenOptLevel OL = CodeGenOptLevel::Default);
81-
~SelectionDAGISel();
81+
virtual ~SelectionDAGISel();
8282

8383
const TargetLowering *getTargetLowering() const { return TLI; }
8484

0 commit comments

Comments
 (0)