porffor 0.57.17 → 0.57.18
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.
@@ -13,7 +13,7 @@ params:[127,127,127,127],typedParams:1,returns:[127,127],
|
|
13
13
|
locals:[127,127,127,127,127],localNames:["a","a#type","b","b#type","al","bl","out","i","ptr"],
|
14
14
|
}
|
15
15
|
this.__Porffor_object_hash = {
|
16
|
-
wasm:()=>[[32,1],[65,5],[70],[4,64],[65,0],[15],[26],[11],[32,0],[33,2],[32,0],[40,0,0],[33,3],[65,197,187,242,136,120],[32,3],[115],[65,147,131,128,8],[108],[33,4],[32,
|
16
|
+
wasm:()=>[[32,1],[65,5],[70],[4,64],[65,0],[15],[26],[11],[32,0],[33,2],[32,0],[40,0,0],[33,3],[65,197,187,242,136,120],[32,3],[115],[65,147,131,128,8],[108],[33,4],[32,2],[32,3],[106],[65,8],[107],[33,5],[3,64],[32,2],[32,5],[76],[4,64],[32,2],[41,0,4],[33,6],[32,4],[32,6],[66,32],[136],[167],[115],[65,147,131,128,8],[108],[32,6],[167],[115],[65,147,131,128,8],[108],[33,4],[32,2],[65,8],[106],[33,2],[12,1],[11],[11],[32,2],[41,0,4],[32,2],[32,5],[107],[65,8],[108],[173],[34,7],[134],[32,7],[136],[33,6],[32,4],[32,6],[66,32],[136],[167],[115],[65,147,131,128,8],[108],[32,6],[167],[115],[65,147,131,128,8],[108],[15]],
|
17
17
|
params:[127,127],typedParams:1,returns:[127],returnType:1,
|
18
18
|
locals:[127,127,127,127,126,126],localNames:["key","key#type","ptr","len","hash","endPtr","x","shift"],
|
19
19
|
}
|
package/compiler/codegen.js
CHANGED
@@ -3601,7 +3601,7 @@ const coctcOffset = prop => {
|
|
3601
3601
|
|
3602
3602
|
let offset = coctc.get(prop);
|
3603
3603
|
if (offset == null) {
|
3604
|
-
offset = (coctc.lastOffset ?? Prefs.coctcOffset ??
|
3604
|
+
offset = (coctc.lastOffset ?? Prefs.coctcOffset ?? (globalThis.pageSize - 128)) - 9;
|
3605
3605
|
if (offset < 0) return 0;
|
3606
3606
|
|
3607
3607
|
coctc.lastOffset = offset;
|
package/package.json
CHANGED
package/runtime/index.js
CHANGED
package/runtime/profile.js
CHANGED
@@ -43,12 +43,6 @@ createImport('profile1', [ Valtype.i32 ], 0, f => { // pre-call
|
|
43
43
|
// This index corresponds to the entry in samplesFunc/Start/End
|
44
44
|
const sampleIndex = samplesFunc.push(f) - 1;
|
45
45
|
samplesEnd.push(null); // Placeholder for end time
|
46
|
-
if (runningIdx >= running.length) {
|
47
|
-
// Resize running buffer if needed
|
48
|
-
const newRunning = new Uint32Array(running.length * 2);
|
49
|
-
newRunning.set(running);
|
50
|
-
running = newRunning;
|
51
|
-
}
|
52
46
|
running[runningIdx++] = sampleIndex;
|
53
47
|
});
|
54
48
|
|