mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Threading through null ptr
This commit is contained in:
parent
8fc663b735
commit
93b77a840a
2 changed files with 8 additions and 12 deletions
|
@ -5175,7 +5175,11 @@ fn run_low_level<'a, 'ctx, 'env>(
|
|||
|
||||
bd.position_at_end(throw_block);
|
||||
|
||||
call_void_bitcode_fn(env, &[], bitcode::EXPECT_FAILED);
|
||||
call_void_bitcode_fn(
|
||||
env,
|
||||
&[env.ptr_int().const_int(0 as u64, false).into()],
|
||||
bitcode::EXPECT_FAILED,
|
||||
);
|
||||
|
||||
bd.build_unconditional_branch(then_block);
|
||||
bd.position_at_end(then_block);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue