porffor 0.18.18 → 0.18.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiler/codegen.js +5 -3
- package/compiler/generated_builtins.js +2147 -3656
- package/compiler/precompile.js +6 -9
- package/package.json +1 -1
- package/runner/index.js +1 -1
package/compiler/codegen.js
CHANGED
@@ -1138,9 +1138,11 @@ const asmFunc = (name, { wasm, params, locals: localTypes, globals: globalTypes
|
|
1138
1138
|
}
|
1139
1139
|
|
1140
1140
|
for (const x of _data) {
|
1141
|
-
|
1142
|
-
if (
|
1143
|
-
|
1141
|
+
let offset = x[0];
|
1142
|
+
if (offset != null) offset += pages.size * pageSize;
|
1143
|
+
|
1144
|
+
const bytes = x[1];
|
1145
|
+
data.push({ offset, bytes });
|
1144
1146
|
}
|
1145
1147
|
|
1146
1148
|
const func = {
|