Skip to content

Commit

Permalink
Auto merge of #2135 - RalfJung:rustup, r=RalfJung
Browse files Browse the repository at this point in the history
rustup
  • Loading branch information
bors committed May 20, 2022
2 parents d419efd + 9a96282 commit d543143
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f24ef2e296ec6fc6fd2e24d7e4bfec3f4cb0577a
22ee39504a702f75485582d02060495a01254de1
7 changes: 6 additions & 1 deletion src/machine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,12 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for Evaluator<'mir, 'tcx> {
}

#[inline(always)]
fn enforce_number_validity(ecx: &MiriEvalContext<'mir, 'tcx>) -> bool {
fn enforce_number_init(ecx: &MiriEvalContext<'mir, 'tcx>) -> bool {
ecx.machine.enforce_number_validity
}

#[inline(always)]
fn enforce_number_no_provenance(ecx: &MiriEvalContext<'mir, 'tcx>) -> bool {
ecx.machine.enforce_number_validity
}

Expand Down

0 comments on commit d543143

Please sign in to comment.