mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-23 20:22:09 +00:00
Fix build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101335 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
46510a73e9
commit
0dbdca5a85
@ -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
|
||||
// anything extra.
|
||||
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
|
||||
unsigned ARMPCLabelIndex = AFI->createConstPoolEntryUId();
|
||||
ARMConstantPoolValue *CPV = new ARMConstantPoolValue(GV,
|
||||
|
Loading…
x
Reference in New Issue
Block a user