Skip to content

Commit

Permalink
fix rebase fallout
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Feb 13, 2019
1 parent 1a5304a commit 22d5e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_mir/interpret/intrinsics.rs
Expand Up @@ -126,7 +126,7 @@ impl<'a, 'mir, 'tcx, M: Machine<'a, 'mir, 'tcx>> EvalContext<'a, 'mir, 'tcx, M>
let l = self.read_immediate(args[0])?;
let r = self.read_immediate(args[1])?;
let is_add = intrinsic_name == "saturating_add";
let (val, overflowed) = self.binary_op_imm(if is_add {
let (val, overflowed) = self.binary_op(if is_add {
BinOp::Add
} else {
BinOp::Sub
Expand Down

0 comments on commit 22d5e6a

Please sign in to comment.