diff options
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAG.h')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAG.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index f921ca20be..c101473c8b 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -820,8 +820,9 @@ public: /// the DAG can optionally implement this interface. This allows the clients /// to handle the various sorts of updates that happen. class DAGUpdateListener { + virtual void anchor(); public: - virtual ~DAGUpdateListener(); + virtual ~DAGUpdateListener() {} /// NodeDeleted - The node N that was deleted and, if E is not null, an /// equivalent node E that replaced it. |