diff options
author | Dan Gohman <gohman@apple.com> | 2008-02-07 18:41:25 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-02-07 18:41:25 +0000 |
commit | 3069b8743769527ce7af6cfb6591a2f0fc2faee4 (patch) | |
tree | 9f44d2992737c6a84e7df99bf2549ef31a673bd6 /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 4fdad172deda12e10a6cf9b5c54cf9346cfaef00 (diff) |
Follow Chris' suggestion; change the PseudoSourceValue accessors
to return pointers instead of references, since this is always what
is needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46857 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 71c6b5589f..b58138eb2b 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -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, |