]> git.lizzy.rs Git - rust.git/commitdiff
Remove segmented stack option from LLVMRustCreateTargetMachine. Unused.
authorBrian Anderson <banderson@mozilla.com>
Thu, 19 Nov 2015 19:32:16 +0000 (11:32 -0800)
committerBrian Anderson <banderson@mozilla.com>
Fri, 20 Nov 2015 00:58:23 +0000 (16:58 -0800)
src/librustc_llvm/lib.rs
src/librustc_trans/back/write.rs
src/rustllvm/PassWrapper.cpp

index 9cb5012cf0f818b83acd02d1b32e2a6e462c7935..0cb0869db86d77467313814d1651204e3c569b6a 100644 (file)
@@ -2044,7 +2044,6 @@ pub fn LLVMRustCreateTargetMachine(Triple: *const c_char,
                                        Model: CodeGenModel,
                                        Reloc: RelocMode,
                                        Level: CodeGenOptLevel,
-                                       EnableSegstk: bool,
                                        UseSoftFP: bool,
                                        PositionIndependentExecutable: bool,
                                        FunctionSections: bool,
index 17c8d9aa9e1daf1a571e65b2c99cf20860047ff9..1a4007026fba1a8d983eff8201f8d2aeb8ae56a3 100644 (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,
index b27a622136f749f90ea50a70e3c459afe7517cf1..30096677aa4ad9939a1fd4f170198e9d379171d7 100644 (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,