mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
lowlevel isUnique
This commit is contained in:
parent
2435bdb41a
commit
ed46a1f2cb
8 changed files with 28 additions and 1 deletions
|
@ -1251,6 +1251,11 @@ pub(crate) fn run_low_level<'a, 'ctx, 'env>(
|
|||
unreachable!("Not used in LLVM backend: {:?}", op);
|
||||
}
|
||||
|
||||
RefCountIsUnique => {
|
||||
arguments!(input);
|
||||
call_bitcode_fn(env, &[input], &bitcode::UTILS_IS_UNIQUE)
|
||||
}
|
||||
|
||||
Unreachable => match RocReturn::from_layout(env, layout_interner, layout) {
|
||||
RocReturn::Return => {
|
||||
let basic_type = basic_type_from_layout(env, layout_interner, layout);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue