[graydon/rust] bd6646: Make last-use pass properly handle closed-over var...

rust-commits at mozilla.org rust-commits at mozilla.org
Mon Jan 2 12:18:33 PST 2012


  Branch: refs/heads/try
  Home:   https://github.com/graydon/rust

  Commit: bd6646e698c38564b8b324ec8cf30305db6a409a
      https://github.com/graydon/rust/commit/bd6646e698c38564b8b324ec8cf30305db6a409a
  Author: Marijn Haverbeke <marijnh at gmail.com>
  Date:   2012-01-02 (Mon, 02 Jan 2012)

  Changed paths:
    M src/comp/middle/last_use.rs
  A src/test/run-pass/last-use-is-capture.rs

  Log Message:
  -----------
  Make last-use pass properly handle closed-over variables

Closes #1399


  Commit: 7ea175f23fb3aa35f430d55595b9564a5ab632f8
      https://github.com/graydon/rust/commit/7ea175f23fb3aa35f430d55595b9564a5ab632f8
  Author: Marijn Haverbeke <marijnh at gmail.com>
  Date:   2012-01-02 (Mon, 02 Jan 2012)

  Changed paths:
    M doc/tutorial/args.md

  Log Message:
  -----------
  Fix confusing information in tutorial chapter about argument modes


  Commit: 40d5f288c35865dc636e19d993260d5983b4fa55
      https://github.com/graydon/rust/commit/40d5f288c35865dc636e19d993260d5983b4fa55
  Author: Marijn Haverbeke <marijnh at gmail.com>
  Date:   2012-01-02 (Mon, 02 Jan 2012)

  Changed paths:
    M src/comp/metadata/decoder.rs
  M src/comp/metadata/tydecode.rs
  M src/comp/metadata/tyencode.rs
  M src/comp/middle/trans.rs
  M src/comp/middle/ty.rs
  M src/comp/middle/typeck.rs

  Log Message:
  -----------
  Check that type parameter bounds are interface types

Issue #1227


  Commit: 664a0443ade2ecc969d39d5ca3f18387b94af5b4
      https://github.com/graydon/rust/commit/664a0443ade2ecc969d39d5ca3f18387b94af5b4
  Author: Marijn Haverbeke <marijnh at gmail.com>
  Date:   2012-01-02 (Mon, 02 Jan 2012)

  Changed paths:
    M src/comp/metadata/csearch.rs
  M src/comp/middle/kind.rs
  M src/comp/middle/resolve.rs
  M src/comp/middle/trans.rs
  M src/comp/middle/ty.rs
  M src/comp/middle/typeck.rs

  Log Message:
  -----------
  More resolving and typechecking of bounded type parameters.

Extern interfaces still don't get recognized.

Issue #1227


  Commit: 270b4273e79aac33f424673caf455f839da2bb40
      https://github.com/graydon/rust/commit/270b4273e79aac33f424673caf455f839da2bb40
  Author: Marijn Haverbeke <marijnh at gmail.com>
  Date:   2012-01-02 (Mon, 02 Jan 2012)

  Changed paths:
    M src/comp/middle/trans.rs
  M src/comp/middle/trans_closure.rs
  M src/comp/middle/trans_common.rs
  M src/comp/middle/trans_objects.rs
  M src/comp/middle/ty.rs
  M src/comp/middle/typeck.rs

  Log Message:
  -----------
  Pass bounds to trans::type_of_fn


  Commit: 9f2369dc9f55a22cfc0bc8b62a8588afe2c8b2ca
      https://github.com/graydon/rust/commit/9f2369dc9f55a22cfc0bc8b62a8588afe2c8b2ca
  Author: Marijn Haverbeke <marijnh at gmail.com>
  Date:   2012-01-02 (Mon, 02 Jan 2012)

  Changed paths:
    M src/comp/metadata/decoder.rs
  M src/comp/metadata/tydecode.rs
  M src/comp/middle/shape.rs
  M src/comp/middle/trans.rs
  M src/comp/middle/trans_closure.rs
  M src/comp/middle/trans_common.rs
  M src/comp/middle/ty.rs
  M src/comp/middle/typeck.rs

  Log Message:
  -----------
  Box arrays of parameter bounds


  Commit: 3a1710d21e47948451cf93a65c841f172259df52
      https://github.com/graydon/rust/commit/3a1710d21e47948451cf93a65c841f172259df52
  Author: Marijn Haverbeke <marijnh at gmail.com>
  Date:   2012-01-02 (Mon, 02 Jan 2012)

  Changed paths:
    M src/comp/metadata/encoder.rs
  M src/comp/middle/trans.rs
  M src/comp/middle/ty.rs
  M src/comp/middle/typeck.rs

  Log Message:
  -----------
  Key tcx.ty_param_bounds on node_ids, not def_ids

This makes it clearer that it's only valid for local nodes.


  Commit: a4694ce146f5a61d58fdffeb5443c395c32069fe
      https://github.com/graydon/rust/commit/a4694ce146f5a61d58fdffeb5443c395c32069fe
  Author: Marijn Haverbeke <marijnh at gmail.com>
  Date:   2012-01-02 (Mon, 02 Jan 2012)

  Changed paths:
    M src/comp/middle/trans.rs
  A src/comp/middle/trans_impl.rs
  M src/comp/rustc.rc

  Log Message:
  -----------
  Create a trans_impl module


  Commit: 371b61a23dc0a5d4fba336a177bebcb59e1369e9
      https://github.com/graydon/rust/commit/371b61a23dc0a5d4fba336a177bebcb59e1369e9
  Author: Marijn Haverbeke <marijnh at gmail.com>
  Date:   2012-01-02 (Mon, 02 Jan 2012)

  Changed paths:
    M src/comp/middle/trans.rs
  M src/comp/middle/trans_common.rs
  M src/comp/middle/trans_impl.rs

  Log Message:
  -----------
  Drop two useless sub-passes from trans

Neither collect_tag_ctors nor the second pass in collect_items needed
to be separate passes.

Also remove obsolete obj_methods table kludge.


  Commit: 1741ef75ac7437e345265a4fa363431693771342
      https://github.com/graydon/rust/commit/1741ef75ac7437e345265a4fa363431693771342
  Author: Marijn Haverbeke <marijnh at gmail.com>
  Date:   2012-01-02 (Mon, 02 Jan 2012)

  Changed paths:
    M src/comp/middle/trans.rs
  M src/comp/middle/trans_common.rs
  M src/comp/middle/trans_impl.rs

  Log Message:
  -----------
  Write out vtables for interface implementations

Issue #1227


  Commit: 86279e86930704efc580097bfaf53c4fca6d78b2
      https://github.com/graydon/rust/commit/86279e86930704efc580097bfaf53c4fca6d78b2
  Author: Lenny222 <github at kudling.de>
  Date:   2012-01-02 (Mon, 02 Jan 2012)

  Changed paths:
    M src/libcore/char.rs

  Log Message:
  -----------
  typo


  Commit: 8c14943dead216ce62b9197a6030dad8e2047428
      https://github.com/graydon/rust/commit/8c14943dead216ce62b9197a6030dad8e2047428
  Author: Marijn Haverbeke <marijnh at gmail.com>
  Date:   2012-01-02 (Mon, 02 Jan 2012)

  Changed paths:
    M src/comp/middle/kind.rs

  Log Message:
  -----------
  Properly handle expression blocks in kind.rs

It was only noticing them in expr_block form, not as function
bodies.

Closes #1390


  Commit: 15be2fc73a4cbed9ac121a91b683812fd3cf1d8a
      https://github.com/graydon/rust/commit/15be2fc73a4cbed9ac121a91b683812fd3cf1d8a
  Author: Marijn Haverbeke <marijnh at gmail.com>
  Date:   2012-01-02 (Mon, 02 Jan 2012)

  Changed paths:
    M src/libcore/option.rs
  M src/libcore/result.rs
  M src/libstd/deque.rs
  M src/libstd/util.rs
  M src/test/run-pass/expr-alt-generic-box2.rs
  M src/test/run-pass/expr-alt-generic-unique1.rs
  M src/test/run-pass/expr-alt-generic-unique2.rs
  M src/test/run-pass/expr-alt-generic.rs
  M src/test/run-pass/expr-fn.rs

  Log Message:
  -----------
  Add 'copy' bounds to functions that were faultily accepted without

Issue #1390


  Commit: cdd806d3248a702fb4d75f5134f0a7dff86710b6
      https://github.com/graydon/rust/commit/cdd806d3248a702fb4d75f5134f0a7dff86710b6
  Author: Marijn Haverbeke <marijnh at gmail.com>
  Date:   2012-01-02 (Mon, 02 Jan 2012)

  Changed paths:
    M src/comp/util/ppaux.rs

  Log Message:
  -----------
  Add a clause ty_ptr to ppaux::ty_to_str

Closes #1383


  Commit: b162f33396576e091b766226dad74dd785703ab1
      https://github.com/graydon/rust/commit/b162f33396576e091b766226dad74dd785703ab1
  Author: Marijn Haverbeke <marijnh at gmail.com>
  Date:   2012-01-02 (Mon, 02 Jan 2012)

  Changed paths:
    M src/test/compile-fail/binop-add-ptr.rs
  M src/test/compile-fail/native-type-mismatch.rs

  Log Message:
  -----------
  Fix expected error messages for better printing of ty_ptr


  Commit: 45b153adfeb8e9df626bb2d48d319b8320386a58
      https://github.com/graydon/rust/commit/45b153adfeb8e9df626bb2d48d319b8320386a58
  Author: Brian Anderson <banderson at mozilla.com>
  Date:   2012-01-02 (Mon, 02 Jan 2012)

  Changed paths:
    M src/llvm

  Log Message:
  -----------
  llvm: Revert unneeded debugging change


Compare: https://github.com/graydon/rust/compare/1c125d8...45b153a


More information about the Rust-commits mailing list