Eduard Burtescu
156b1fb9e1
Add a new Assert terminator to MIR for bounds & arithmetic checks.
2016-06-05 14:41:02 +03:00
Ariel Ben-Yehuda
de7cb0fdd6
introduce DropAndReplace for translating assignments
...
this introduces a DropAndReplace terminator as a fix to #30380 . That terminator
is suppsoed to be translated by desugaring during drop elaboration, which is
not implemented in this commit, so this breaks `-Z orbit` temporarily.
2016-06-03 16:11:18 +03:00
Eduard Burtescu
76affa5d6f
rustc: Split 'tcx into 'gcx and 'tcx for InferCtxt and its users.
2016-05-11 04:14:58 +03:00
Eduard Burtescu
513d392f7e
rustc: Replace &'a TyCtxt<'tcx> with a TyCtxt<'a, 'tcx> wrapper.
2016-05-11 04:14:58 +03:00
Eduard Burtescu
14efbf1481
mir: prepare for rvalue promotion support.
2016-05-07 07:19:10 +03:00
Eduard Burtescu
5efdde0de1
rustc: move cfg, infer, traits and ty from middle to top-level.
2016-03-27 01:05:54 +02:00
Niko Matsakis
3a16f57fbb
extend Terminator into a struct so it can have additional fields
2016-03-23 16:42:52 -04:00
Simonas Kazlauskas
e30ff06756
Change MirPass to also take NodeId
2016-03-07 23:21:39 +02:00
Simonas Kazlauskas
811b874716
Add Pass manager for MIR
2016-03-04 15:20:10 +02:00
Ariel Ben-Yehuda
881249aa46
use the FulfillmentContext and InferCtxt more correctly
2016-02-20 02:02:53 +02:00
Simonas Kazlauskas
1752615591
MSVC SEH in MIR is implemented here
2016-02-17 21:46:05 +02:00
Simonas Kazlauskas
5ad4673a40
Add a no-landing-pads MIR pass
...
The pass removes the unwind branch of each terminator, thus moving the responsibility of handling
the -Z no-landing-pads flag to a small self-contained pass… instead of polluting the translator.
2016-02-11 23:13:55 +02:00