Skip to content

Commit 54a24e2

Browse files
committed
Runtime: fix annotation of caml_lxm_next
1 parent 1907ccf commit 54a24e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/lib-wasm/generate.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ module Generate (Target : Target_sig.S) = struct
9999
; "caml_bytes_get64", (`Mutator, [ Value; Value ], Int64)
100100
; "caml_bytes_set32", (`Mutator, [ Value; Value; Int32 ], Value)
101101
; "caml_bytes_set64", (`Mutator, [ Value; Value; Int64 ], Value)
102-
; "caml_lxm_next", (`Pure, [ Value ], Int64)
102+
; "caml_lxm_next", (`Mutable, [ Value ], Int64)
103103
; "caml_ba_uint8_get32", (`Mutator, [ Value; Value ], Int32)
104104
; "caml_ba_uint8_get64", (`Mutator, [ Value; Value ], Int64)
105105
; "caml_ba_uint8_set32", (`Mutator, [ Value; Value; Int32 ], Value)

runtime/js/prng.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var caml_lxm_daba = caml_int64_of_string(
1414
caml_string_of_jsstring("0xdaba0b6eb09322e3"),
1515
);
1616

17-
//Provides: caml_lxm_next const
17+
//Provides: caml_lxm_next mutable
1818
//Requires: caml_int64_shift_left
1919
//Requires: caml_int64_shift_right_unsigned
2020
//Requires: caml_int64_or

0 commit comments

Comments
 (0)