Skip to content

Commit 46a5d08

Browse files
committed
Runtime: adjust nat prims
1 parent 5ee1b72 commit 46a5d08

File tree

7 files changed

+0
-24
lines changed

7 files changed

+0
-24
lines changed

compiler/tests-check-prim/main.output

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,6 @@ caml_string_set64
141141
caml_string_unsafe_set
142142
caml_to_js_string
143143

144-
From +nat.js:
145-
compare_nat_real
146-
147144
From +stdlib.js:
148145
caml_build_symbols
149146
caml_is_printable

compiler/tests-check-prim/main.output5

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,6 @@ caml_string_set64
124124
caml_string_unsafe_set
125125
caml_to_js_string
126126

127-
From +nat.js:
128-
compare_nat_real
129-
130127
From +runtime_events.js:
131128
caml_runtime_events_create_cursor
132129
caml_runtime_events_free_cursor

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,6 @@ caml_string_set64
250250
caml_string_unsafe_set
251251
caml_to_js_string
252252

253-
From +nat.js:
254-
compare_nat_real
255-
256253
From +stdlib.js:
257254
caml_build_symbols
258255
caml_is_printable

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,6 @@ caml_string_set64
235235
caml_string_unsafe_set
236236
caml_to_js_string
237237

238-
From +nat.js:
239-
compare_nat_real
240-
241238
From +runtime_events.js:
242239
caml_runtime_events_create_cursor
243240
caml_runtime_events_free_cursor

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,6 @@ caml_string_set64
215215
caml_string_unsafe_set
216216
caml_to_js_string
217217

218-
From +nat.js:
219-
compare_nat_real
220-
221218
From +stdlib.js:
222219
caml_build_symbols
223220
caml_is_printable

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,6 @@ caml_string_set64
201201
caml_string_unsafe_set
202202
caml_to_js_string
203203

204-
From +nat.js:
205-
compare_nat_real
206-
207204
From +runtime_events.js:
208205
caml_runtime_events_create_cursor
209206
caml_runtime_events_free_cursor

runtime/js/nat.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -423,12 +423,6 @@ function compare_nat(nat1, ofs1, len1, nat2, ofs2, len2) {
423423
return 0;
424424
}
425425

426-
//Provides: compare_nat_real
427-
//Requires: compare_nat
428-
function compare_nat_real(nat1, nat2) {
429-
return compare_nat(nat1, 0, nat1.data.length, nat2, 0, nat2.data.length);
430-
}
431-
432426
//Provides: land_digit_nat
433427
function land_digit_nat(nat1, ofs1, nat2, ofs2) {
434428
nat1.data[ofs1] &= nat2.data[ofs2];

0 commit comments

Comments
 (0)