mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
fix a questionable cast, thanks to Mike Stump for pointing this out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45075 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d7610e16fc
commit
48b0133b83
@ -5302,7 +5302,7 @@ SDOperand X86TargetLowering::LowerTRAMPOLINE(SDOperand Op,
|
||||
Disp = DAG.getNode(ISD::SUB, MVT::i32, FPtr, Addr);
|
||||
|
||||
unsigned char MOV32ri = TII->getBaseOpcodeFor(X86::MOV32ri);
|
||||
unsigned char N86Reg = ((X86RegisterInfo&)RegInfo).getX86RegNum(NestReg);
|
||||
unsigned char N86Reg = ((X86RegisterInfo*)RegInfo)->getX86RegNum(NestReg);
|
||||
OutChains[0] = DAG.getStore(Root, DAG.getConstant(MOV32ri|N86Reg, MVT::i8),
|
||||
Trmp, TrmpSV->getValue(), TrmpSV->getOffset());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user