mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
rename countBytes -> countUtf8Bytes
This commit is contained in:
parent
5f2c7c5b5e
commit
5904934887
10 changed files with 27 additions and 25 deletions
|
@ -248,7 +248,9 @@ impl<'a> LowLevelCall<'a> {
|
|||
StrCountGraphemes => {
|
||||
self.load_args_and_call_zig(backend, bitcode::STR_COUNT_GRAPEHEME_CLUSTERS)
|
||||
}
|
||||
StrCountBytes => self.load_args_and_call_zig(backend, bitcode::STR_COUNT_BYTES),
|
||||
StrCountUtf8Bytes => {
|
||||
self.load_args_and_call_zig(backend, bitcode::STR_COUNT_UTF8_BYTES)
|
||||
}
|
||||
StrToNum => {
|
||||
let number_layout = match self.ret_layout {
|
||||
Layout::Struct { field_layouts, .. } => field_layouts[0],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue