Nikolay Nikolov
|
99e449eaa1
* decblock moved after end_try, instead of after catch
|
3 years ago |
Nikolay Nikolov
|
0c3e179652
- get rid of fpc_PushExceptAddr and fpc_PopAddrStack entirely, when compiling in
|
3 years ago |
Nikolay Nikolov
|
c9fd115ec5
* fixes to the try..finally code generation in wasm native exceptions mode
|
3 years ago |
Nikolay Nikolov
|
cdf1ceca76
* emit a weak symbol for the exception tag, since that's what the LLVM linker
|
3 years ago |
Nikolay Nikolov
|
82b6450f19
+ introduced the AT_WASM_EXCEPTION_TAG asm symbol type, use that for specifying
|
3 years ago |
Nikolay Nikolov
|
f76e91fb8b
* cloned twasmtryexceptnode.pass_generate_code_no_exceptions into twasmtryexceptnode.pass_generate_code_native_exceptions
|
4 years ago |
Nikolay Nikolov
|
334ea46b44
* cloned twasmraisenode.pass_1_no_exceptions into twasmraisenode.pass_1_native_exceptions
|
4 years ago |
florian
|
8ad5362b17
* more warnings fixed
|
4 years ago |
Nikolay Nikolov
|
87702b58c5
+ emit a catch instruction in the try/end_try block, generated for
|
4 years ago |
florian
|
bee87583de
* avoid warnings
|
4 years ago |
Nikolay Nikolov
|
619a27cbfc
+ insert try and end_try instructions in the try..finally code in native
|
4 years ago |
Nikolay Nikolov
|
45e53ddc16
* cloned the WASM no exceptions mode code generation for try..finally blocks
|
4 years ago |
Nikolay Nikolov
|
65a5b299c6
+ introduced twasmraisenode.pass_1_no_exceptions
|
4 years ago |
Nikolay Nikolov
|
6c213137a9
- cleaned up twasmtryexceptnode.pass_generate_code_no_exceptions
|
4 years ago |
Nikolay Nikolov
|
c992566201
+ introduced twasmtryexceptnode.pass_generate_code_no_exceptions,
|
4 years ago |
Nikolay Nikolov
|
848098c63b
* improvements to the handling of try..finally in WebAssembly no exceptions
|
4 years ago |
Nikolay Nikolov
|
3601d61b81
+ introduced twasmtryfinallynode.pass_generate_code_no_exceptions,
|
4 years ago |
nickysn
|
bc42d64348
* workaround for the raise node generating invalid WebAssembly code for
|
4 years ago |
nickysn
|
f81dd894aa
* override the raise node for WebAssembly and copy the generic pass_1
|
4 years ago |
nickysn
|
7a15157387
+ dummy implementation of the code generator for the try..except node for WebAssembly
|
4 years ago |
nickysn
|
28b9d0c6b4
+ dummy code generator for the try..finally blocks in WebAssembly
|
4 years ago |
nickysn
|
d5caaf792c
* update comment about twasmifnode, since the WebAssembly 'if' instruction that
|
4 years ago |
nickysn
|
0236da1da9
* changed the formatting in nwasmflw.pas to match the style of the rest of the compiler
|
4 years ago |
nickysn
|
d1c58ccf4b
+ override the try finally node for WebAssembly. No functional changes yet.
|
4 years ago |
nickysn
|
a478e15836
- removed some commented out code
|
4 years ago |
nickysn
|
7f31c03718
* update the flowcontrol set in the IF node pass_generate_code
|
4 years ago |
nickysn
|
c0e7035e50
+ set node location to LOC_VOID in the WebAssembly if node pass_generate_code
|
4 years ago |
nickysn
|
28a7f25f4c
* various fixes for tracking the stack and correctly loading the child node values to the stack, as well as setting the result location
|
4 years ago |
nickysn
|
5677e7ed81
* fixed crash with ifs with an empty then clause
|
4 years ago |
nickysn
|
bcb5c140d1
* free a stack slot after br_if
|
4 years ago |