1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Use the getNode() accessor instead of accessing the Node

member directly, which is private as of r55504.

llvm-svn: 62364
This commit is contained in:
Dan Gohman 2009-01-16 21:47:21 +00:00
parent cd46de9bdc
commit 4dc9f47c97

View 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),