mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 22:04:55 +00:00
Rename TargetOptions::StackAlignment to StackAlignmentOverride.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133739 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
df214fa517
commit
f05589d043
@ -133,8 +133,8 @@ namespace llvm {
|
||||
/// as their parent function, etc.), using an alternate ABI if necessary.
|
||||
extern bool GuaranteedTailCallOpt;
|
||||
|
||||
/// StackAlignment - Override default stack alignment for target.
|
||||
extern unsigned StackAlignment;
|
||||
/// StackAlignmentOverride - Override default stack alignment for target.
|
||||
extern unsigned StackAlignmentOverride;
|
||||
|
||||
/// RealignStack - This flag indicates whether the stack should be
|
||||
/// automatically realigned, if needed.
|
||||
|
@ -43,7 +43,7 @@ namespace llvm {
|
||||
Reloc::Model RelocationModel;
|
||||
CodeModel::Model CMModel;
|
||||
bool GuaranteedTailCallOpt;
|
||||
unsigned StackAlignment;
|
||||
unsigned StackAlignmentOverride;
|
||||
bool RealignStack;
|
||||
bool DisableJumpTables;
|
||||
bool StrongPHIElim;
|
||||
@ -183,7 +183,7 @@ EnableGuaranteedTailCallOpt("tailcallopt",
|
||||
static cl::opt<unsigned, true>
|
||||
OverrideStackAlignment("stack-alignment",
|
||||
cl::desc("Override default stack alignment"),
|
||||
cl::location(StackAlignment),
|
||||
cl::location(StackAlignmentOverride),
|
||||
cl::init(0));
|
||||
static cl::opt<bool, true>
|
||||
EnableRealignStack("realign-stack",
|
||||
|
@ -117,7 +117,7 @@ X86_64TargetMachine::X86_64TargetMachine(const Target &T, const std::string &TT,
|
||||
X86TargetMachine::X86TargetMachine(const Target &T, const std::string &TT,
|
||||
const std::string &FS, bool is64Bit)
|
||||
: LLVMTargetMachine(T, TT),
|
||||
Subtarget(TT, FS, is64Bit, StackAlignment),
|
||||
Subtarget(TT, FS, is64Bit, StackAlignmentOverride),
|
||||
FrameLowering(*this, Subtarget),
|
||||
ELFWriterInfo(is64Bit, true) {
|
||||
DefRelocModel = getRelocationModel();
|
||||
|
Loading…
Reference in New Issue
Block a user