Use the getNode() accessor instead of accessing the Node
authorDan Gohman <gohman@apple.com>
Fri, 16 Jan 2009 21:47:21 +0000 (21:47 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 16 Jan 2009 21:47:21 +0000 (21:47 +0000)
member directly, which is private as of r55504.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62364 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/DAGCombiner.cpp

index 46c62ca56bdbacda53439c2663aac77b85608cea..f8b914268cbed878fd2c9ba34f0a634061f3f5f4 100644 (file)
@@ -3358,7 +3358,7 @@ SDValue DAGCombiner::ReduceLoadWidth(SDNode *N) {
       : DAG.getExtLoad(ExtType, VT, LN0->getChain(), NewPtr,
                        LN0->getSrcValue(), LN0->getSrcValueOffset() + PtrOff,
                        EVT, LN0->isVolatile(), NewAlign);
-    AddToWorkList(Load.Node);
+    AddToWorkList(Load.getNode());
     if (CombineSRL) {
       WorkListRemover DeadNodes(*this);
       DAG.ReplaceAllUsesOfValueWith(N0.getValue(1), Load.getValue(1),