summaryrefslogtreecommitdiff
path: root/lib/Target/Alpha/AlphaISelLowering.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-09-12 21:04:05 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-09-12 21:04:05 +0000
commitc356a572e34131bf767f35e3fecefae36fab744a (patch)
treee4c0016738bfb70ee53c3c721d918f3b2e00ebed /lib/Target/Alpha/AlphaISelLowering.cpp
parentd6594ae54cfde4db4d30272192645c0a45fb9902 (diff)
downloadllvm-c356a572e34131bf767f35e3fecefae36fab744a.tar.gz
llvm-c356a572e34131bf767f35e3fecefae36fab744a.tar.bz2
llvm-c356a572e34131bf767f35e3fecefae36fab744a.tar.xz
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/Alpha/AlphaISelLowering.cpp')
-rw-r--r--lib/Target/Alpha/AlphaISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaISelLowering.cpp b/lib/Target/Alpha/AlphaISelLowering.cpp
index fde5801f5d..a9649ab9a3 100644
--- a/lib/Target/Alpha/AlphaISelLowering.cpp
+++ b/lib/Target/Alpha/AlphaISelLowering.cpp
@@ -436,7 +436,7 @@ SDOperand AlphaTargetLowering::LowerOperation(SDOperand Op, SelectionDAG &DAG) {
}
case ISD::ConstantPool: {
ConstantPoolSDNode *CP = cast<ConstantPoolSDNode>(Op);
- Constant *C = CP->get();
+ Constant *C = CP->getConstVal();
SDOperand CPI = DAG.getTargetConstantPool(C, MVT::i64, CP->getAlignment());
SDOperand Hi = DAG.getNode(AlphaISD::GPRelHi, MVT::i64, CPI,