Nikolay Nikolov
|
5e9cf637d3
* fixed branch ordering in resolve_labels_via_state_machine
|
1 rok temu |
Nikolay Nikolov
|
6f942996a5
* fixes to the mangling of the entry and exit code during the state machine label resolution
|
1 rok temu |
Nikolay Nikolov
|
f9ecc12e5b
+ added label resolution via state machine
|
1 rok temu |
Nikolay Nikolov
|
fc9719f5f9
+ add the extra allocated locals before inserting the locals list in wasm32 tcpuprocinfo.postprocess_code
|
1 rok temu |
Nikolay Nikolov
|
d50ef3381f
* strip block instructions
|
1 rok temu |
Nikolay Nikolov
|
ce742b5b4d
* convert loop..end_loop blocks to flat list + branch instruction
|
1 rok temu |
Nikolay Nikolov
|
9584348c40
+ added amfrtDeleteAi, support deleting instructions in map_structured_asmlist_inner
|
1 rok temu |
Nikolay Nikolov
|
0f07c966b6
* convert if structured instructions to br_if + labels
|
1 rok temu |
Nikolay Nikolov
|
59128241ad
+ support mapping of structured instructions also in map_structured_asmlist_inner
|
1 rok temu |
Nikolay Nikolov
|
8b00598cab
* set the last=true property of the last tai_local in the locals list in the
|
1 rok temu |
Nikolay Nikolov
|
5b64e5b957
* insert the wasm locals asm list after resolve_labels_complex, since it will (in the future) be able to allocate more locals, in order to resolve the branches and goto
|
1 rok temu |
Nikolay Nikolov
|
e81cff0408
* moved the insertion of the wasm locals asmlist to a local subroutine
|
1 rok temu |
Nikolay Nikolov
|
0e39e7c12d
* moved the preparation of the locals asm list in tcpuprocinfo.postprocess_code to a local subroutine
|
1 rok temu |
Nikolay Nikolov
|
db23f54f8c
* Local var templist renamed localslist. No functional changes.
|
1 rok temu |
Nikolay Nikolov
|
edabca1447
+ added and implemented tcpuprocinfo.AllocWasmLocal
|
1 rok temu |
Nikolay Nikolov
|
d911e462b2
+ added support for params and results in tai_wasmstruc_if.ConvertToBrIf
|
1 rok temu |
Nikolay Nikolov
|
c2173185e7
+ added method tai_wasmstruc_if.ConvertToBrIf
|
1 rok temu |
Nikolay Nikolov
|
bc7b113e09
+ convert wasm structured list to flat list
|
1 rok temu |
Nikolay Nikolov
|
ea18d11d41
* fixed crash in map_structured_asmlist_inner, when the TAsmList parameter is nil
|
1 rok temu |
Nikolay Nikolov
|
e0c41ebc5a
* fixed hang in map_structured_asmlist_inner
|
1 rok temu |
Nikolay Nikolov
|
3c19adda78
* moved the code that converts branch numbers to labels in the cpupi unit and call it from resolve_labels_complex
|
1 rok temu |
Nikolay Nikolov
|
c48a8ad31f
+ added ait_wasm_structured_instruction to the SkipLineInfo set
|
1 rok temu |
Nikolay Nikolov
|
3892bb265e
+ always call resolve_labels_complex, if DEBUG_WASM_GOTO is defined.
|
1 rok temu |
Nikolay Nikolov
|
6aa1f3686e
+ in case of unresolved labels, call resolve_labels_complex, which will eventually implement the stackifier algorithm. Currently, it converts the asmlist to structured.
|
1 rok temu |
Nikolay Nikolov
|
267b99a8aa
+ added code for creating labels, associated with blocks and converting branch with consts to the corresponding block's label
|
1 rok temu |
Nikolay Nikolov
|
e318348372
+ added a block stack parameter to TAsmMapFunc
|
1 rok temu |
Nikolay Nikolov
|
3f4c41b45f
+ introduced twasmstruc_stack
|
1 rok temu |
Nikolay Nikolov
|
c97fa0a05d
+ introduced map_structured_asmlist
|
1 rok temu |
Nikolay Nikolov
|
8e66041b79
+ fix for the conversion of try..catch blocks to structured form
|
1 rok temu |
Nikolay Nikolov
|
11b743fd6a
+ also check for unexpected delegate instructions when converting to wasm structured form
|
1 rok temu |