]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_trans/trans/declare.rs
Remove morestack support
[rust.git] / src / librustc_trans / trans / declare.rs
index 0c77e74be38aa1f831bc8a0525ff17a2582694e0..ee1d4ed47d7c1b14ea8fcb8337895c0051d50b12 100644 (file)
@@ -79,9 +79,6 @@ pub fn declare_fn(ccx: &CrateContext, name: &str, callconv: llvm::CallConv,
         llvm::SetFunctionAttribute(llfn, llvm::Attribute::NoRedZone)
     }
 
-    if ccx.is_split_stack_supported() && !ccx.sess().opts.cg.no_stack_check {
-        attributes::split_stack(llfn, true);
-    }
     llfn
 }