mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
Avoid unnecessarily casting away const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46590 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
35e9f7d711
commit
bbfb9c57c7
@ -4977,7 +4977,7 @@ SDOperand X86TargetLowering::LowerTRAMPOLINE(SDOperand Op,
|
||||
{ Trmp, DAG.getNode(ISD::TokenFactor, MVT::Other, OutChains, 6) };
|
||||
return DAG.getNode(ISD::MERGE_VALUES, Op.Val->getVTList(), Ops, 2);
|
||||
} else {
|
||||
Function *Func = (Function *)
|
||||
const Function *Func =
|
||||
cast<Function>(cast<SrcValueSDNode>(Op.getOperand(5))->getValue());
|
||||
unsigned CC = Func->getCallingConv();
|
||||
unsigned NestReg;
|
||||
|
Loading…
x
Reference in New Issue
Block a user