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

llvm-svn: 29192
This commit is contained in:
Chris Lattner 2006-07-19 00:00:37 +00:00
parent a0ddced752
commit c0973edc69
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.
///