forked from OSchip/llvm-project
Add an out-of-line virtual method for the sdnode class to give it a home.
llvm-svn: 29192
This commit is contained in:
parent
a0ddced752
commit
c0973edc69
|
@ -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");
|
||||
|
|
|
@ -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.
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue