summaryrefslogtreecommitdiff
path: root/js-runtime
diff options
context:
space:
mode:
Diffstat (limited to 'js-runtime')
-rw-r--r--js-runtime/reflect.js1
-rw-r--r--js-runtime/reflect.wasmbin4260 -> 4260 bytes
2 files changed, 1 insertions, 0 deletions
diff --git a/js-runtime/reflect.js b/js-runtime/reflect.js
index 0662ea5..7ba19b7 100644
--- a/js-runtime/reflect.js
+++ b/js-runtime/reflect.js
@@ -360,6 +360,7 @@ class SchemeModule {
#io_handler;
#debug_handler;
static #rt = {
+ bignum_from_string(str) { return BigInt(str); },
bignum_from_i32(n) { return BigInt(n); },
bignum_from_i64(n) { return n; },
bignum_from_u64(n) { return n < 0n ? 0xffff_ffff_ffff_ffffn + (n + 1n) : n; },
diff --git a/js-runtime/reflect.wasm b/js-runtime/reflect.wasm
index d2b10d7..64d1156 100644
--- a/js-runtime/reflect.wasm
+++ b/js-runtime/reflect.wasm
Binary files differ