Nikolay Nikolov
|
29ee863e8f
- WebAssembly code generator: removed the g_fingerprint hack, that added 4
|
10 mesiacov pred |
Nikolay Nikolov
|
964aa8b71b
+ added an optional nil pointer checking for WebAssembly (similar to
|
11 mesiacov pred |
Nikolay Nikolov
|
342ede81ee
* WebAssembly code generator: don't emit a return instruction at the end of the
|
11 mesiacov pred |
Nikolay Nikolov
|
5e327453a8
+ WebAssembly external asm writer: workaround for the 'missing functype' error,
|
11 mesiacov pred |
Nikolay Nikolov
|
54d65ff75c
* WebAssembly: fixed crash when attempting to generate a functype directive for
|
11 mesiacov pred |
Nikolay Nikolov
|
b6527c6c03
+ WebAssembly: check for exceptions after call of fpc_rangeerror in branchful
|
11 mesiacov pred |
Nikolay Nikolov
|
58a3f2ef64
* WebAssembly: changed the generated code in a_op_reg_reg_reg_checkoverflow to
|
11 mesiacov pred |
Nikolay Nikolov
|
7a1c50ff87
* fix warning
|
11 mesiacov pred |
Nikolay Nikolov
|
d2785117df
* WebAssembly: fixed overflow checking for unsigned subtraction
|
11 mesiacov pred |
Nikolay Nikolov
|
4f42553cb3
* fix bug in thlcgwasm.a_op_reg_reg_reg_checkoverflow when either src1 or src2
|
11 mesiacov pred |
Nikolay Nikolov
|
8bbb28ace8
+ WASI: enable the generic stack checking
|
1 rok pred |
Nikolay Nikolov
|
0a9169eb67
+ allow referencing '$__stack_pointer' in WebAssembly inline asm as argument to
|
1 rok pred |
Nikolay Nikolov
|
7cbf18c6f3
* don't create block..end_block around WebAssembly inline asm routines
|
1 rok pred |
Nikolay Nikolov
|
4adac78f85
+ respect the nostackframe directive in WebAssembly inline asm routines
|
1 rok pred |
Nikolay Nikolov
|
cdba427bcf
+ added WASI multithreading helper for setting the stack pointer for the linear stack
|
2 rokov pred |
Nikolay Nikolov
|
9da276b352
* fixed bug in thlcgwasm.a_op_reg_reg_reg_checkoverflow that used to generate
|
1 rok pred |
Nikolay Nikolov
|
ab65c9889b
+ added the WasmBasicType to TWasmGlobalAsmSymbol. This will help WebAssembly
|
1 rok pred |
Nikolay Nikolov
|
f4b9d51aff
+ introduced TWasmGlobalAsmSymbol subclass of TAsmSymbol. Use it for all
|
1 rok pred |
Nikolay Nikolov
|
21cc89f1e3
+ added a second TWasmFuncType parameter to the CALL WebAssembly instruction. It
|
1 rok pred |
Nikolay Nikolov
|
3defa34470
+ check whether all br instructions, generated by goto point to a pascal goto label
|
1 rok pred |
Nikolay Nikolov
|
5486182f56
+ introduced thlcgobj.a_jmp_always_pascal_goto - same as .a_jmp_always, but generated by a pascal goto statement
|
1 rok pred |
Nikolay Nikolov
|
064172d65a
* refactored thlcgwasm.a_jmp_always. No functional changes.
|
1 rok pred |
Nikolay Nikolov
|
cf21365a21
* fixed and enabled the is_pascal_goto_target check
|
1 rok pred |
Nikolay Nikolov
|
b3e64d70e7
* temporary workaround for the is_pascal_goto_target check not working properly in a_jmp_always
|
1 rok pred |
Nikolay Nikolov
|
b1cec6de2a
+ allow jumps to goto targets
|
1 rok pred |
Nikolay Nikolov
|
8cd6606970
+ support nil comparison of WebAssembly reference types (externref and funcref)
|
2 rokov pred |
Nikolay Nikolov
|
9daabb2123
+ support using nil constants for setting values of WebAssembly reference types (funcref and externref)
|
2 rokov pred |
Nikolay Nikolov
|
11712658b0
+ implemented WebAssembly code generator support for funcref and externref data
|
2 rokov pred |
Nikolay Nikolov
|
f32ef29253
* WebAssembly high level code generator: use the global.get and global.set
|
3 rokov pred |
Nikolay Nikolov
|
4db653998b
+ generate proper WebAssembly threadvar access when multithreading is turned on
|
3 rokov pred |