Nikolay Nikolov
|
e2d17a202e
+ added and implemented tcpuprocinfo.AllocWasmLocal
|
2 years ago |
Nikolay Nikolov
|
d778763c15
+ added support for params and results in tai_wasmstruc_if.ConvertToBrIf
|
2 years ago |
Nikolay Nikolov
|
70f45e83bc
+ added method tai_wasmstruc_if.ConvertToBrIf
|
2 years ago |
Nikolay Nikolov
|
5438771a97
+ convert wasm structured list to flat list
|
2 years ago |
Nikolay Nikolov
|
f21a03a057
* fixed crash in map_structured_asmlist_inner, when the TAsmList parameter is nil
|
2 years ago |
Nikolay Nikolov
|
d310c0d26f
* fixed hang in map_structured_asmlist_inner
|
2 years ago |
Nikolay Nikolov
|
b141ba7f83
* moved the code that converts branch numbers to labels in the cpupi unit and call it from resolve_labels_complex
|
2 years ago |
Nikolay Nikolov
|
c899ae277a
+ added ait_wasm_structured_instruction to the SkipLineInfo set
|
2 years ago |
Nikolay Nikolov
|
3742cc2fcf
+ always call resolve_labels_complex, if DEBUG_WASM_GOTO is defined.
|
2 years ago |
Nikolay Nikolov
|
533901f324
+ in case of unresolved labels, call resolve_labels_complex, which will eventually implement the stackifier algorithm. Currently, it converts the asmlist to structured.
|
2 years ago |
Nikolay Nikolov
|
2373aa31f3
+ added code for creating labels, associated with blocks and converting branch with consts to the corresponding block's label
|
2 years ago |
Nikolay Nikolov
|
ed1b1dac9d
+ added a block stack parameter to TAsmMapFunc
|
2 years ago |
Nikolay Nikolov
|
a2a672e217
+ introduced twasmstruc_stack
|
2 years ago |
Nikolay Nikolov
|
978f2d80bb
+ introduced map_structured_asmlist
|
2 years ago |
Nikolay Nikolov
|
f54cfcc25e
+ fix for the conversion of try..catch blocks to structured form
|
2 years ago |
Nikolay Nikolov
|
a1752cc7fb
+ also check for unexpected delegate instructions when converting to wasm structured form
|
2 years ago |
Nikolay Nikolov
|
4be72e2c1f
+ also debug print structured try..catch and try..delegate blocks
|
2 years ago |
Nikolay Nikolov
|
a6dc0504c3
+ more consistency checks for unexpected instructions when converting to wasm structured instruction form
|
2 years ago |
Nikolay Nikolov
|
1fd30d9e75
+ added compiler internal error when encountering certain unexpected wasm instructions (indicating improper nesting)
|
2 years ago |
Nikolay Nikolov
|
19c59eed23
+ added else to case statement to avoid warning
|
2 years ago |
Nikolay Nikolov
|
14d20d77d5
+ avoid more warnings
|
2 years ago |
Nikolay Nikolov
|
4559286b41
+ added else to case statement, avoid the warning, produce an internal error in this unexpected case
|
2 years ago |
Nikolay Nikolov
|
2cc351e726
* constructors made public to avoid warnings
|
2 years ago |
Nikolay Nikolov
|
1b0eef70cb
* shorten the string for ait_wasm_structured_instruction in taitypestr to fit in string[24]
|
2 years ago |
Nikolay Nikolov
|
46bc5ce4a7
+ for debug purposes print wasm structured instructions in the llvm-mc assembler output
|
2 years ago |
Nikolay Nikolov
|
6bb500f075
* set typ of wasm structured instructions to ait_wasm_structured_instruction
|
2 years ago |
Nikolay Nikolov
|
be80bb5a08
* fixed more bugs in the wasm structured asmlist construction
|
2 years ago |
Nikolay Nikolov
|
03bb4f99ce
* fixed bug in wasm_convert_to_structured_asmlist
|
2 years ago |
Nikolay Nikolov
|
e6c91c326c
+ added code for converting wasm asmlists to structured lists (i.e. lists, using the new wasm structured instructions classes)
|
2 years ago |
Nikolay Nikolov
|
faf7cd94f1
+ introduced classes for WebAssembly structured form of instructions
|
2 years ago |