diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-09-12 21:04:05 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-09-12 21:04:05 +0000 |
commit | c356a572e34131bf767f35e3fecefae36fab744a (patch) | |
tree | e4c0016738bfb70ee53c3c721d918f3b2e00ebed /lib/Target/Sparc | |
parent | d6594ae54cfde4db4d30272192645c0a45fb9902 (diff) |
Reflects MachineConstantPoolEntry changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30279 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r-- | lib/Target/Sparc/SparcISelDAGToDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Sparc/SparcISelDAGToDAG.cpp b/lib/Target/Sparc/SparcISelDAGToDAG.cpp index a30e739420..1d1b595743 100644 --- a/lib/Target/Sparc/SparcISelDAGToDAG.cpp +++ b/lib/Target/Sparc/SparcISelDAGToDAG.cpp @@ -704,7 +704,7 @@ LowerOperation(SDOperand Op, SelectionDAG &DAG) { return DAG.getNode(ISD::ADD, MVT::i32, Lo, Hi); } case ISD::ConstantPool: { - Constant *C = cast<ConstantPoolSDNode>(Op)->get(); + Constant *C = cast<ConstantPoolSDNode>(Op)->getConstVal(); SDOperand CP = DAG.getTargetConstantPool(C, MVT::i32, cast<ConstantPoolSDNode>(Op)->getAlignment()); SDOperand Hi = DAG.getNode(SPISD::Hi, MVT::i32, CP); |