1. 20 10月, 2017 14 次提交
  2. 19 10月, 2017 20 次提交
  3. 18 10月, 2017 6 次提交
    • J
      Remove two obsolete min-llvm-version tests · 6309a475
      Josh Stone 提交于
      6309a475
    • B
      Auto merge of #44573 - dotdash:dbg_bloat, r=arielb1 · fc208bb6
      bors 提交于
      Avoid unnecessary allocas for indirect function arguments
      
      The extra alloca was only necessary because it made LLVM implicitly
      handle the necessary deref to get to the actual value. The same happens
      for indirect arguments that have the byval attribute. But the Rust ABI
      does not use the byval attribute and so we need to manually add the
      deref operation to the debuginfo.
      fc208bb6
    • B
      Avoid unnecessary allocas for indirect function arguments · 6bfecd41
      Björn Steinbrink 提交于
      The extra alloca was only necessary because it made LLVM implicitly
      handle the necessary deref to get to the actual value. The same happens
      for indirect arguments that have the byval attribute. But the Rust ABI
      does not use the byval attribute and so we need to manually add the
      deref operation to the debuginfo.
      6bfecd41
    • B
      Auto merge of #44501 - nikomatsakis:issue-44137-non-query-data-in-tcx, r=eddyb · 7a4f3945
      bors 提交于
      remove or encapsulate the remaining non-query data in tcx
      
      I wound up removing the existing cache around inhabitedness since it didn't seem to be adding much value. I reworked const rvalue promotion, but not that much (i.e., I did not split the computation into bits, as @EddyB had tossed out as a suggestion). But it's now demand driven, at least.
      
      cc @michaelwoerister -- see the `forbid_reads` change in last commit
      
      r? @EddyB -- since the trickiest of this PR is the work on const rvalue promotion
      
      cc #44137
      7a4f3945
    • J
      rustdoc: add a primitive page for "unit" · 9fda05c0
      Josh Stone 提交于
      In `src/libstd/primitive_docs.rs`, a `#[doc(primitive = "unit")]`
      section has sat long neglected.  This patch teaches rustdoc to recognize
      "unit", and steals its trait implementations away from the tuple page.
      9fda05c0
    • C
      2a889eb9