[llvm-commits] [llvm] r62364 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Dan Gohman gohman at apple.com
Fri Jan 16 13:47:21 PST 2009


Author: djg
Date: Fri Jan 16 15:47:21 2009
New Revision: 62364

URL: http://llvm.org/viewvc/llvm-project?rev=62364&view=rev
Log:
Use the getNode() accessor instead of accessing the Node
member directly, which is private as of r55504.

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp?rev=62364&r1=62363&r2=62364&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Fri Jan 16 15:47:21 2009
@@ -3358,7 +3358,7 @@
       : 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),





More information about the llvm-commits mailing list