mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Move CallFrameSetupOpcode and CallFrameDestroyOpcode to TargetInstrInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134030 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -54,7 +54,13 @@ ReMatPICStubLoad("remat-pic-stub-load",
|
||||
cl::init(false), cl::Hidden);
|
||||
|
||||
X86InstrInfo::X86InstrInfo(X86TargetMachine &tm)
|
||||
: TargetInstrInfoImpl(X86Insts, array_lengthof(X86Insts)),
|
||||
: TargetInstrInfoImpl(X86Insts, array_lengthof(X86Insts),
|
||||
(tm.getSubtarget<X86Subtarget>().is64Bit()
|
||||
? X86::ADJCALLSTACKDOWN64
|
||||
: X86::ADJCALLSTACKDOWN32),
|
||||
(tm.getSubtarget<X86Subtarget>().is64Bit()
|
||||
? X86::ADJCALLSTACKUP64
|
||||
: X86::ADJCALLSTACKUP32)),
|
||||
TM(tm), RI(tm, *this) {
|
||||
enum {
|
||||
TB_NOT_REVERSABLE = 1U << 31,
|
||||
|
Reference in New Issue
Block a user