Expect no longer crashes

This commit is contained in:
Joshua Hoeflich 2021-08-28 10:08:12 -05:00
parent 0ed013b928
commit 8fc663b735
4 changed files with 17 additions and 2 deletions

View file

@ -5175,8 +5175,9 @@ fn run_low_level<'a, 'ctx, 'env>(
bd.position_at_end(throw_block);
throw_exception(env, "assert failed!");
call_void_bitcode_fn(env, &[], bitcode::EXPECT_FAILED);
bd.build_unconditional_branch(then_block);
bd.position_at_end(then_block);
cond