porffor 0.18.16 → 0.18.17
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/builtins/array.ts +1 -3
- package/package.json +1 -1
- package/runner/index.js +1 -1
@@ -83,10 +83,8 @@ export const __Array_prototype_splice = (_this: any[], start: number, deleteCoun
|
|
83
83
|
_this.length = len - deleteCount + itemsLen;
|
84
84
|
|
85
85
|
// remove deleted values via memory.copy shifting values in mem
|
86
|
-
Porffor.wasm`;;
|
86
|
+
Porffor.wasm`;; ptr = ptr(_this) + 4 + (start * 9)
|
87
87
|
local #splice_ptr i32
|
88
|
-
|
89
|
-
;; ptr = ptr(_this) + 4 + (start * 9)
|
90
88
|
local.get ${_this}
|
91
89
|
i32.to_u
|
92
90
|
i32.const 4
|
package/package.json
CHANGED