Skip to content

Commit 329a9e6

Browse files
committed
Runtime: adjust hash prims
1 parent 46a5d08 commit 329a9e6

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed

compiler/tests-check-prim/main.output

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,6 @@ caml_gr_text_size
109109
caml_gr_wait_event
110110
caml_gr_window_id
111111

112-
From +hash.js:
113-
caml_string_hash
114-
115112
From +ints.js:
116113
caml_div
117114
caml_mod

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,6 @@ caml_gr_text_size
218218
caml_gr_wait_event
219219
caml_gr_window_id
220220

221-
From +hash.js:
222-
caml_string_hash
223-
224221
From +ints.js:
225222
caml_div
226223
caml_mod

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,6 @@ caml_gr_text_size
183183
caml_gr_wait_event
184184
caml_gr_window_id
185185

186-
From +hash.js:
187-
caml_string_hash
188-
189186
From +ints.js:
190187
caml_div
191188
caml_mod

runtime/js/hash.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ function caml_hash(count, limit, seed, obj) {
275275

276276
//Provides: caml_string_hash
277277
//Requires: caml_hash_mix_final, caml_hash_mix_string
278+
//Version: >= 5.0
278279
function caml_string_hash(h, v) {
279280
var h = caml_hash_mix_string(h, v);
280281
var h = caml_hash_mix_final(h);

0 commit comments

Comments
 (0)