rust/src/librustc_trans/mir
James Miller 73f3054288 Check arithmetic in the MIR
Add, Sub, Mul, Shl, and Shr are checked using a new Rvalue:
CheckedBinaryOp, while Div, Rem and Neg are handled with explicit checks
in the MIR.
2016-06-05 14:02:24 +03:00
..
analyze.rs fix translation of terminators in MSVC cleanup blocks 2016-06-04 13:26:32 +03:00
block.rs fix translation of terminators in MSVC cleanup blocks 2016-06-04 13:26:32 +03:00
constant.rs trans: Use CrateContext::empty_substs_for_def_id() instead of Substs::empty() where appropriate. 2016-05-11 17:11:20 -04:00
lvalue.rs remove filling on drop 2016-06-03 16:11:18 +03:00
mod.rs fix translation of terminators in MSVC cleanup blocks 2016-06-04 13:26:32 +03:00
operand.rs remove filling on drop 2016-06-03 16:11:18 +03:00
rvalue.rs Check arithmetic in the MIR 2016-06-05 14:02:24 +03:00
statement.rs Address comments 2016-04-28 13:18:51 +12:00