mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-22 10:29:35 +00:00
Remove unused functions setting MCOptions from TargetMachine.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208835 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
475ac5d302
commit
cea72fe763
@ -166,32 +166,17 @@ public:
|
|||||||
/// relaxed.
|
/// relaxed.
|
||||||
bool hasMCRelaxAll() const { return Options.MCOptions.MCRelaxAll; }
|
bool hasMCRelaxAll() const { return Options.MCOptions.MCRelaxAll; }
|
||||||
|
|
||||||
/// setMCRelaxAll - Set whether all machine code instructions should be
|
|
||||||
/// relaxed.
|
|
||||||
void setMCRelaxAll(bool Value) { Options.MCOptions.MCRelaxAll = Value; }
|
|
||||||
|
|
||||||
/// hasMCSaveTempLabels - Check whether temporary labels will be preserved
|
/// hasMCSaveTempLabels - Check whether temporary labels will be preserved
|
||||||
/// (i.e., not treated as temporary).
|
/// (i.e., not treated as temporary).
|
||||||
bool hasMCSaveTempLabels() const { return Options.MCOptions.MCSaveTempLabels; }
|
bool hasMCSaveTempLabels() const { return Options.MCOptions.MCSaveTempLabels; }
|
||||||
|
|
||||||
/// setMCSaveTempLabels - Set whether temporary labels will be preserved
|
|
||||||
/// (i.e., not treated as temporary).
|
|
||||||
void setMCSaveTempLabels(bool Value) { Options.MCOptions.MCSaveTempLabels = Value; }
|
|
||||||
|
|
||||||
/// hasMCNoExecStack - Check whether an executable stack is not needed.
|
/// hasMCNoExecStack - Check whether an executable stack is not needed.
|
||||||
bool hasMCNoExecStack() const { return Options.MCOptions.MCNoExecStack; }
|
bool hasMCNoExecStack() const { return Options.MCOptions.MCNoExecStack; }
|
||||||
|
|
||||||
/// setMCNoExecStack - Set whether an executabel stack is not needed.
|
|
||||||
void setMCNoExecStack(bool Value) { Options.MCOptions.MCNoExecStack = Value; }
|
|
||||||
|
|
||||||
/// hasMCUseDwarfDirectory - Check whether we should use .file directives with
|
/// hasMCUseDwarfDirectory - Check whether we should use .file directives with
|
||||||
/// explicit directories.
|
/// explicit directories.
|
||||||
bool hasMCUseDwarfDirectory() const { return Options.MCOptions.MCUseDwarfDirectory; }
|
bool hasMCUseDwarfDirectory() const { return Options.MCOptions.MCUseDwarfDirectory; }
|
||||||
|
|
||||||
/// setMCUseDwarfDirectory - Set whether all we should use .file directives
|
|
||||||
/// with explicit directories.
|
|
||||||
void setMCUseDwarfDirectory(bool Value) { Options.MCOptions.MCUseDwarfDirectory = Value; }
|
|
||||||
|
|
||||||
/// getRelocationModel - Returns the code generation relocation model. The
|
/// getRelocationModel - Returns the code generation relocation model. The
|
||||||
/// choices are static, PIC, and dynamic-no-pic, and target default.
|
/// choices are static, PIC, and dynamic-no-pic, and target default.
|
||||||
Reloc::Model getRelocationModel() const;
|
Reloc::Model getRelocationModel() const;
|
||||||
|
Loading…
Reference in New Issue
Block a user