Fix build.

llvm-svn: 101335
This commit is contained in:
Anders Carlsson 2010-04-15 03:11:28 +00:00
parent bcaf681cde
commit 47bccf7f28
1 changed files with 1 additions and 1 deletions

View File

@ -1041,7 +1041,7 @@ ARMTargetLowering::LowerCall(SDValue Chain, SDValue Callee,
// those, the target's already in a register, so we don't need to do // those, the target's already in a register, so we don't need to do
// anything extra. // anything extra.
if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) { if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
GlobalValue *GV = G->getGlobal(); const GlobalValue *GV = G->getGlobal();
// Create a constant pool entry for the callee address // Create a constant pool entry for the callee address
unsigned ARMPCLabelIndex = AFI->createConstPoolEntryUId(); unsigned ARMPCLabelIndex = AFI->createConstPoolEntryUId();
ARMConstantPoolValue *CPV = new ARMConstantPoolValue(GV, ARMConstantPoolValue *CPV = new ARMConstantPoolValue(GV,