mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
remove usize llvm gen
This commit is contained in:
parent
2033f1f430
commit
7d231f87cd
4 changed files with 8 additions and 38 deletions
|
@ -289,7 +289,7 @@ pub fn str_from_int<'a, 'ctx, 'env>(
|
|||
|
||||
match int_layout {
|
||||
Layout::Builtin(builtin) => match builtin {
|
||||
Builtin::Usize | Builtin::Int(_) => {
|
||||
Builtin::Int(_) => {
|
||||
let intwidth = intwidth_from_builtin(*builtin, env.ptr_bytes);
|
||||
call_bitcode_fn(env, &[int], &bitcode::STR_FROM_INT[intwidth])
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue