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 | 16d4bc3dc0bb78e57ea23e80457836f58abde34d (patch) | |
tree | 23fe089b4083a8580afbeb83f7ca673ca4ee3c74 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 0f166de892ac9b53c4dd27dcbadea236cc2fe899 (diff) | |
download | llvm-16d4bc3dc0bb78e57ea23e80457836f58abde34d.zip llvm-16d4bc3dc0bb78e57ea23e80457836f58abde34d.tar.gz llvm-16d4bc3dc0bb78e57ea23e80457836f58abde34d.tar.bz2 |
Follow Chris' suggestion; change the PseudoSourceValue accessors
to return pointers instead of references, since this is always what
is needed.
llvm-svn: 46857
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 71c6b55..b58138e 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/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, |