1. 14 8月, 2017 4 次提交
    • B
      Auto merge of #43842 - bjorn3:no_llvm_cleanup, r=alexcrichton · e3245948
      bors 提交于
      Cleanup for "Support compiling rustc without LLVM (try 2)"
      
      This includes a small patch to allow running tests without llvm. Also check if you are not trying to compile a dylib.
      
      cc #42932
      r? @alexcrichton
      e3245948
    • B
      Auto merge of #43836 - taleks:issue-39827, r=arielb1 · f3cf2062
      bors 提交于
      Fix for issue #39827
      
      *Cause of the issue*
      
      While preparing for `trans_intrinsic_call()` invoke arguments are processed with `trans_argument()` method which excludes zero-sized types from argument list (to be more correct - all arguments for which `ArgKind` is `Ignore` are filtered out). As result `volatile_store()` intrinsic gets one argument instead of expected address and value.
      
      *How it is fixed*
      
      Modification of the `trans_argument()` method may cause side effects, therefore change was implemented in `volatile_store()` intrinsic building code itself. Now it checks function signature and if it was specialised with zero-sized type, then emits `C_nil()` instead of accessing non-existing second argument.
      f3cf2062
    • B
      Auto merge of #43815 - alexcrichton:optimize-alloc, r=sfackler · ab40a7cb
      bors 提交于
      Optimize allocation paths in RawVec
      
      Since the `Alloc` trait was introduced (https://github.com/rust-lang/rust/pull/42313) and it was integrated everywhere (https://github.com/rust-lang/rust/pull/42727) there's been some slowdowns and regressions that have slipped through. The intention of this PR is to try to tackle at least some of them, but they've been very difficult to quantify up to this point so it probably doesn't solve everything.
      
      This PR primarily targets the `RawVec` type, specifically the `double` function. The codegen for this function is now much closer to what it was before #42313 landed as many runtime checks have been elided.
      ab40a7cb
    • B
      Fix error · 005bc2c3
      bjorn3 提交于
      005bc2c3
  2. 13 8月, 2017 35 次提交
  3. 12 8月, 2017 1 次提交