rust/src/librustc_driver
Niko Matsakis 46b342fbc0 simplify the MirPass traits and passes dramatically
Overall goal: reduce the amount of context a mir pass needs so that it
resembles a query.

- The hooks are no longer "threaded down" to the pass, but rather run
  automatically from the top-level (we also thread down the current pass
  number, so that the files are sorted better).
  - The hook now receives a *single* callback, rather than a callback per-MIR.
- The traits are no longer lifetime parameters, which moved to the
  methods -- given that we required
  `for<'tcx>` objecs, there wasn't much point to that.
- Several passes now store a `String` instead of a `&'l str` (again, no
  point).
2017-05-02 14:01:01 -04:00
..
Cargo.toml Remove internal liblog 2017-03-23 11:28:00 -07:00
derive_registrar.rs kill a bunch of one off tasks 2017-04-18 08:20:12 -04:00
driver.rs simplify the MirPass traits and passes dramatically 2017-05-02 14:01:01 -04:00
lib.rs Removal pass for anonymous parameters 2017-05-02 05:55:20 +02:00
pretty.rs introduce mir_keys() 2017-05-02 14:01:00 -04:00
target_features.rs rustc: Whitelist the FMA target feature 2017-03-10 23:57:58 +01:00
test.rs patch the librustc_driver unit tests 2017-05-01 20:11:36 -04:00