[llvm-commits] [llvm] r152613 - in /llvm/trunk: include/llvm/CodeGen/SelectionDAG.h lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Bill Wendling
isanbard at gmail.com
Mon Mar 12 22:51:56 PDT 2012
Author: void
Date: Tue Mar 13 00:51:56 2012
New Revision: 152613
URL: http://llvm.org/viewvc/llvm-project?rev=152613&view=rev
Log:
Inline the d'tor and add an anchor instead.
Modified:
llvm/trunk/include/llvm/CodeGen/SelectionDAG.h
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAG.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAG.h?rev=152613&r1=152612&r2=152613&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAG.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAG.h Tue Mar 13 00:51:56 2012
@@ -820,8 +820,9 @@
/// 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.
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp?rev=152613&r1=152612&r2=152613&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Tue Mar 13 00:51:56 2012
@@ -70,7 +70,7 @@
}
}
-SelectionDAG::DAGUpdateListener::~DAGUpdateListener() {}
+SelectionDAG::DAGUpdateListener::anchor() {}
//===----------------------------------------------------------------------===//
// ConstantFPSDNode Class
More information about the llvm-commits
mailing list