From a7e57ace28f80c195c31542697f266904f76e41e Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Fri, 16 Mar 2012 00:01:55 +0000 Subject: 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 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/SelectionDAG') diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 5111daea25b..34659bb1a41 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -70,7 +70,7 @@ static const fltSemantics *EVTToAPFloatSemantics(EVT VT) { } } -void SelectionDAG::DAGUpdateListener::anchor() {} +SelectionDAG::DAGUpdateListener::~DAGUpdateListener() {} //===----------------------------------------------------------------------===// // ConstantFPSDNode Class -- cgit v1.2.3