Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 6067e9e

Browse files
chore: rebuild wasm (i think)
1 parent 79a0b87 commit 6067e9e

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

compiler/wasm-checksum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const checksum = "43dd2e2bc06ed86e43f0b95d12e78de926b2c1bb"
1+
export const checksum = "8329ec333fc81ad798cb50c0f88995e23039ac9a"

compiler/wasm-pack.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -78,20 +78,6 @@ function getInt32Memory0() {
7878
return cachegetInt32Memory0;
7979
}
8080

81-
let heap_next = heap.length;
82-
83-
function dropObject(idx) {
84-
if (idx < 36) return;
85-
heap[idx] = heap_next;
86-
heap_next = idx;
87-
}
88-
89-
function takeObject(idx) {
90-
const ret = getObject(idx);
91-
dropObject(idx);
92-
return ret;
93-
}
94-
9581
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
9682

9783
cachedTextDecoder.decode();
@@ -100,6 +86,8 @@ function getStringFromWasm0(ptr, len) {
10086
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
10187
}
10288

89+
let heap_next = heap.length;
90+
10391
function addHeapObject(obj) {
10492
if (heap_next === heap.length) heap.push(heap.length + 1);
10593
const idx = heap_next;
@@ -108,6 +96,18 @@ function addHeapObject(obj) {
10896
heap[idx] = obj;
10997
return idx;
11098
}
99+
100+
function dropObject(idx) {
101+
if (idx < 36) return;
102+
heap[idx] = heap_next;
103+
heap_next = idx;
104+
}
105+
106+
function takeObject(idx) {
107+
const ret = getObject(idx);
108+
dropObject(idx);
109+
return ret;
110+
}
111111
/**
112112
* @param {string} s
113113
* @param {any} opts
@@ -182,13 +182,13 @@ async function init(input) {
182182
getInt32Memory0()[arg0 / 4 + 1] = len0;
183183
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
184184
};
185-
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
186-
takeObject(arg0);
187-
};
188185
imports.wbg.__wbindgen_json_parse = function(arg0, arg1) {
189186
var ret = JSON.parse(getStringFromWasm0(arg0, arg1));
190187
return addHeapObject(ret);
191188
};
189+
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
190+
takeObject(arg0);
191+
};
192192
imports.wbg.__wbg_new_59cb74e423758ede = function() {
193193
var ret = new Error();
194194
return addHeapObject(ret);

compiler/wasm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)