Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo committed Nov 6, 2024
1 parent e8ed9ce commit 4ab63ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions compiler/tests-check-prim/main.output
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,6 @@ caml_obj_is_block
caml_obj_is_shared
caml_obj_update_tag

From +prng.js:
caml_lxm_next

From +runtime_events.js:
caml_custom_event_index
caml_ml_runtime_events_pause
Expand Down
3 changes: 3 additions & 0 deletions runtime/js/prng.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
//Provides: caml_lxm_M
//Requires: caml_int64_of_string
//Requires: caml_new_string
//Version: >= 5
var caml_lxm_M = caml_int64_of_string(caml_new_string("0xd1342543de82ef95"));

//Provides: caml_lxm_daba
//Requires: caml_int64_of_string
//Requires: caml_new_string
//Version: >= 5
var caml_lxm_daba = caml_int64_of_string(caml_new_string("0xdaba0b6eb09322e3"));

//Provides: caml_lxm_next
Expand All @@ -19,6 +21,7 @@ var caml_lxm_daba = caml_int64_of_string(caml_new_string("0xdaba0b6eb09322e3"));
//Requires: caml_ba_set_1
//Requires: caml_lxm_M
//Requires: caml_lxm_daba
//Version: >= 5
function caml_lxm_next(v) {
function shift_l(x, k) {
return caml_int64_shift_left(x, k);
Expand Down

0 comments on commit 4ab63ab

Please sign in to comment.