mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
f32/f64toParts in repl only
This commit is contained in:
parent
64e9899cad
commit
473b8ef2d3
12 changed files with 72 additions and 6 deletions
|
@ -2039,6 +2039,16 @@ trait Backend<'a> {
|
|||
self.build_fn_call(sym, intrinsic, args, arg_layouts, ret_layout)
|
||||
}
|
||||
|
||||
LowLevel::NumF32ToParts => {
|
||||
let intrinsic = bitcode::NUM_F32_TO_PARTS.to_string();
|
||||
self.build_fn_call(sym, intrinsic, args, arg_layouts, ret_layout)
|
||||
}
|
||||
|
||||
LowLevel::NumF64ToParts => {
|
||||
let intrinsic = bitcode::NUM_F64_TO_PARTS.to_string();
|
||||
self.build_fn_call(sym, intrinsic, args, arg_layouts, ret_layout)
|
||||
}
|
||||
|
||||
x => todo!("low level, {:?}", x),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue