summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/SelectionDAG.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-03-13 05:51:56 +0000
committerBill Wendling <isanbard@gmail.com>2012-03-13 05:51:56 +0000
commitbf565702dcffb57a96612b529b68b4375244084f (patch)
treed3d3ec3059ca3f91591f6f5839e9e6fd06fc7c4b /include/llvm/CodeGen/SelectionDAG.h
parent091306099d7aaf8d68c3c5f44cdaf3e3e91d9f77 (diff)
downloadllvm-bf565702dcffb57a96612b529b68b4375244084f.tar.gz
llvm-bf565702dcffb57a96612b529b68b4375244084f.tar.bz2
llvm-bf565702dcffb57a96612b529b68b4375244084f.tar.xz
Inline the d'tor and add an anchor instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152613 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAG.h')
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h3
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.