Repository navigation
Commit 91d9e36
[wasi][prototype] Apply Andy's SPC gate #2: class-init helper return arity
Cherry-pick InitHelpers.cs from AndyAyersMS:next-blocker-spc — InitClass and
InitInstantiatedClass return void* (null) instead of void, so the compiled wasm
call_indirect signature matches the interp's value-returning P_ helper convention.
Fixes the class-init helper arity mismatch (Console.cctor trap) that the rebaselined
corelib-R2R composite hit at func 61854 after Gates 1+2 (dotnet#130384/dotnet#130446).
Prototype-only; for the future WASI R2R PR.
Co-authored-by: Copilot App <[email protected]>1 parent c9915a4 commit 91d9e36
1 file changed
Lines changed: 13 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
| 27 | + | |
30 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
34 | | - | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| |||
45 | 49 | | |
46 | 50 | | |
47 | 51 | | |
48 | | - | |
49 | | - | |
50 | | - | |
| 52 | + | |
51 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
| |||
0 commit comments