Follow Chris' suggestion; change the PseudoSourceValue accessors
[oota-llvm.git] / lib / CodeGen / SelectionDAG / SelectionDAG.cpp
index 71c6b5589fabe0731835f80d21ada102abbc1bb6..b58138eb2b08f5f3c5fa06ff4526403181d42e69 100644 (file)
@@ -3548,7 +3548,7 @@ MemOperand LSBaseSDNode::getMemOperand() const {
   const FrameIndexSDNode *FI =
     dyn_cast<const FrameIndexSDNode>(getBasePtr().Val);
   if (!getSrcValue() && FI)
-    return MemOperand(&PseudoSourceValue::getFixedStack(), Flags,
+    return MemOperand(PseudoSourceValue::getFixedStack(), Flags,
                       FI->getIndex(), Size, Alignment);
   else
     return MemOperand(getSrcValue(), Flags,