mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Wasm code gen for new refcount lowlevels
This commit is contained in:
parent
6e5acadfea
commit
264927fb85
1 changed files with 6 additions and 1 deletions
|
@ -370,7 +370,12 @@ pub fn decode_low_level<'a>(
|
|||
Not => code_builder.i32_eqz(),
|
||||
Hash => return NotImplemented,
|
||||
ExpectTrue => return NotImplemented,
|
||||
RefCountGetPtr | RefCountInc | RefCountDec => return NotImplemented,
|
||||
RefCountGetPtr => {
|
||||
code_builder.i32_const(4);
|
||||
code_builder.i32_sub();
|
||||
}
|
||||
RefCountInc => return BuiltinCall(bitcode::UTILS_INCREF),
|
||||
RefCountDec => return BuiltinCall(bitcode::UTILS_DECREF),
|
||||
}
|
||||
Done
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue