mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
f32FromParts and f64FromParts for repl
This commit is contained in:
parent
473b8ef2d3
commit
11998b9cc8
12 changed files with 48 additions and 4 deletions
|
@ -2049,6 +2049,16 @@ trait Backend<'a> {
|
|||
self.build_fn_call(sym, intrinsic, args, arg_layouts, ret_layout)
|
||||
}
|
||||
|
||||
LowLevel::NumF32FromParts => {
|
||||
let intrinsic = bitcode::NUM_F32_FROM_PARTS.to_string();
|
||||
self.build_fn_call(sym, intrinsic, args, arg_layouts, ret_layout)
|
||||
}
|
||||
|
||||
LowLevel::NumF64FromParts => {
|
||||
let intrinsic = bitcode::NUM_F64_FROM_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