Add an out-of-line virtual method for the sdnode class to give it a home.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29192 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-07-19 00:00:37 +00:00
parent 433fd76e51
commit 917d2c9dc2
2 changed files with 7 additions and 0 deletions

View File

@ -713,6 +713,9 @@ class SDNode {
/// Uses - These are all of the SDNode's that use a value produced by this
/// node.
std::vector<SDNode*> Uses;
// Out-of-line virtual method to give class a home.
virtual void ANCHOR();
public:
virtual ~SDNode() {
assert(NumOperands == 0 && "Operand list not cleared before deletion");

View File

@ -2702,6 +2702,10 @@ void SelectionDAG::ReplaceAllUsesOfValueWith(SDOperand From, SDOperand To,
// SDNode Class
//===----------------------------------------------------------------------===//
// Out-of-line virtual method to give class a home.
void SDNode::ANCHOR() {
}
/// getValueTypeList - Return a pointer to the specified value type.
///