[mozilla/rust] : Pass type with params intact as item_type for meth...

rust-commits at mozilla.org rust-commits at mozilla.org
Wed Jan 11 04:06:41 PST 2012


  Branch: refs/heads/master
  Home:   https://github.com/mozilla/rust
  Commit: 0145b15f0cd61389599eb1cb77c028f7f4a8229a
      https://github.com/mozilla/rust/commit/0145b15f0cd61389599eb1cb77c028f7f4a8229a
  Author: Marijn Haverbeke <marijnh at gmail.com>
  Date:   2012-01-11 (Wed, 11 Jan 2012)

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

  Log Message:
  -----------
  Pass type with params intact as item_type for method callees

This prevents trans_args from optimizing out nil return types. The
method might be generic, in which case it *will* write to a nil retptr.


  Commit: 87253cf3a91994aac5a9e679ae17cfcad1ed0fcf
      https://github.com/mozilla/rust/commit/87253cf3a91994aac5a9e679ae17cfcad1ed0fcf
  Author: Marijn Haverbeke <marijnh at gmail.com>
  Date:   2012-01-11 (Wed, 11 Jan 2012)

  Changed paths:
    M src/rt/rust_cc.cpp
  M src/rt/rust_internal.h
  M src/rt/rust_shape.h

  Log Message:
  -----------
  Revert some iface shape code, fix a few more things in it

We can now run the compiler with an iface-based hashtable
implementation.


Compare: https://github.com/mozilla/rust/compare/ef895b9...87253cf


More information about the Rust-commits mailing list