forked from OSchip/llvm-project
Revert r152613 (and r152614), "Inline the d'tor and add an anchor instead." for workaround of g++-4.4's miscompilation.
It caused MSP430DAGToDAGISel::SelectIndexedBinOp() to be miscompiled. When two ReplaceUses()'s are expanded as inline, vtable in base class is stored to latter (ISelUpdater)ISU. llvm-svn: 152877
This commit is contained in:
parent
7734ca2891
commit
a7e57ace28
|
@ -820,9 +820,8 @@ public:
|
||||||
/// the DAG can optionally implement this interface. This allows the clients
|
/// the DAG can optionally implement this interface. This allows the clients
|
||||||
/// to handle the various sorts of updates that happen.
|
/// to handle the various sorts of updates that happen.
|
||||||
class DAGUpdateListener {
|
class DAGUpdateListener {
|
||||||
virtual void anchor();
|
|
||||||
public:
|
public:
|
||||||
virtual ~DAGUpdateListener() {}
|
virtual ~DAGUpdateListener();
|
||||||
|
|
||||||
/// NodeDeleted - The node N that was deleted and, if E is not null, an
|
/// NodeDeleted - The node N that was deleted and, if E is not null, an
|
||||||
/// equivalent node E that replaced it.
|
/// equivalent node E that replaced it.
|
||||||
|
|
|
@ -70,7 +70,7 @@ static const fltSemantics *EVTToAPFloatSemantics(EVT VT) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SelectionDAG::DAGUpdateListener::anchor() {}
|
SelectionDAG::DAGUpdateListener::~DAGUpdateListener() {}
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
// ConstantFPSDNode Class
|
// ConstantFPSDNode Class
|
||||||
|
|
Loading…
Reference in New Issue