Remove segmented stack option from LLVMRustCreateTargetMachine. Unused.

This commit is contained in:
Brian Anderson 2015-11-19 11:32:16 -08:00
parent 6861c51453
commit 99741700e5
3 changed files with 0 additions and 3 deletions

View File

@ -2044,7 +2044,6 @@ extern {
Model: CodeGenModel,
Reloc: RelocMode,
Level: CodeGenOptLevel,
EnableSegstk: bool,
UseSoftFP: bool,
PositionIndependentExecutable: bool,
FunctionSections: bool,

View File

@ -218,7 +218,6 @@ pub fn create_target_machine(sess: &Session) -> TargetMachineRef {
code_model,
reloc_model,
opt_level,
true /* EnableSegstk */,
use_softfp,
!any_library && reloc_model == llvm::RelocPIC,
ffunction_sections,

View File

@ -80,7 +80,6 @@ LLVMRustCreateTargetMachine(const char *triple,
CodeModel::Model CM,
Reloc::Model RM,
CodeGenOpt::Level OptLevel,
bool EnableSegmentedStacks,
bool UseSoftFloat,
bool PositionIndependentExecutable,
bool FunctionSections,