porffor 0.28.8 → 0.28.10
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/assemble.js +3 -0
- package/compiler/builtins/object.ts +1 -1
- package/compiler/builtins_precompiled.js +158 -158
- package/compiler/codegen.js +14 -12
- package/compiler/decompile.js +1 -1
- package/compiler/precompile.js +4 -1
- package/package.json +1 -1
- package/runner/index.js +1 -1
package/compiler/assemble.js
CHANGED
@@ -174,6 +174,9 @@ export default (funcs, globals, tags, pages, data, flags, noTreeshake = false) =
|
|
174
174
|
let argc = func.params.length;
|
175
175
|
if (func.constr) argc -= 4;
|
176
176
|
if (!func.internal || func.typedParams) argc = Math.floor(argc / 2);
|
177
|
+
|
178
|
+
if (name.startsWith('#')) name = '';
|
179
|
+
|
177
180
|
bytes.push(argc % 256, (argc / 256 | 0) % 256);
|
178
181
|
|
179
182
|
// userland exposed .length
|