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
This commit is contained in:
Bill Wendling 2012-03-13 05:51:56 +00:00
parent 091306099d
commit bf565702dc
2 changed files with 3 additions and 2 deletions

View File

@ -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.

View File

@ -70,7 +70,7 @@ static const fltSemantics *EVTToAPFloatSemantics(EVT VT) {
}
}
SelectionDAG::DAGUpdateListener::~DAGUpdateListener() {}
SelectionDAG::DAGUpdateListener::anchor() {}
//===----------------------------------------------------------------------===//
// ConstantFPSDNode Class