Skip to content

Commit a1c6cc9

Browse files
committed
Runtime: add is_digit_normalized
1 parent 1ded1bc commit a1c6cc9

File tree

7 files changed

+5
-6
lines changed

7 files changed

+5
-6
lines changed

compiler/tests-check-prim/main.output

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ caml_int64_xor_native
1515
caml_int_as_pointer
1616
caml_reset_afl_instrumentation
1717
debugger
18-
is_digit_normalized
1918

2019
Unused
2120
-------

compiler/tests-check-prim/main.output5

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ caml_drop_continuation
88
caml_int_as_pointer
99
caml_reset_afl_instrumentation
1010
debugger
11-
is_digit_normalized
1211

1312
Unused
1413
-------

compiler/tests-check-prim/unix-unix.output

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ caml_int_as_pointer
1616
caml_reset_afl_instrumentation
1717
caml_unix_map_file_bytecode
1818
debugger
19-
is_digit_normalized
2019
unix_accept
2120
unix_access
2221
unix_alarm

compiler/tests-check-prim/unix-unix.output5

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ caml_unix_waitpid
119119
caml_unix_write
120120
caml_unix_write_bigarray
121121
debugger
122-
is_digit_normalized
123122

124123
Unused
125124
-------

compiler/tests-check-prim/unix-win32.output

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ caml_int_as_pointer
1616
caml_reset_afl_instrumentation
1717
caml_unix_map_file_bytecode
1818
debugger
19-
is_digit_normalized
2019
unix_accept
2120
unix_access
2221
unix_bind

compiler/tests-check-prim/unix-win32.output5

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ caml_unix_waitpid
8585
caml_unix_write
8686
caml_unix_write_bigarray
8787
debugger
88-
is_digit_normalized
8988

9089
Unused
9190
-------

runtime/js/nat.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,11 @@ function is_digit_zero(nat, ofs) {
143143
return 0;
144144
}
145145

146+
//Provides: is_digit_normalized
147+
function is_digit_normalized(nat, ofs) {
148+
return 1;
149+
}
150+
146151
//Provides: is_digit_odd
147152
function is_digit_odd(nat, ofs) {
148153
if (nat.data[ofs] & 1) return 1;

0 commit comments

Comments
 (0)