Nikolay Nikolov
|
01dc62b127
+ introduced the use of asm labels for WebAssembly. Resolve them in
|
3 years ago |
Nikolay Nikolov
|
b91fc3a0d3
* fixed passing of singleton record parameters, containing a float in WebAssembly
|
3 years ago |
Nikolay Nikolov
|
3c58f26e83
* thlcgwasm.g_checkexceptions renamed .g_maybe_checkforexceptions, added also as
|
3 years ago |
Nikolay Nikolov
|
7110d1e48e
* use 'br_if' instead of 'if br end_if' sequence in the code, generated by
|
3 years ago |
Nikolay Nikolov
|
7afb665c92
+ insert exception flag check and branch after each function call, when
|
3 years ago |
Nikolay Nikolov
|
5be1bfeeca
+ added comment that states that raiseBr is only used in branchful exceptions mode
|
3 years ago |
Nikolay Nikolov
|
d02921d66b
+ introduced raiseBr, similar to exitBr, but will point to the current
|
3 years ago |
Nikolay Nikolov
|
5adec3ca98
+ workaround for WebAssembly treating the stack parameter of the store and load
|
3 years ago |
Nikolay Nikolov
|
0a383d8c0f
* fixed WebAssembly method pointer assignment
|
3 years ago |
Nikolay Nikolov
|
cc2fa67dfa
* fixed OS_S8 to OS_16 conversion for WebAssembly. This fixes test/cg/tcnvint6
|
3 years ago |
Nikolay Nikolov
|
d2726c2406
* fixed WebAssembly code generation for not(cbool64)
|
3 years ago |
Nikolay Nikolov
|
4fc763ac50
* fixed WebAssembly cbool support for OP_NOT
|
3 years ago |
Nikolay Nikolov
|
188a21bbfd
* fixed 'not(boolean64)' for WebAssembly
|
3 years ago |
Nikolay Nikolov
|
812732cb6a
+ introduced the AT_WASM_GLOBAL asm symbol type
|
3 years ago |
Nikolay Nikolov
|
d3ec8f0d29
* generate an internalerror if there are values remaining on top of stack
|
3 years ago |
Nikolay Nikolov
|
f7cc2d560c
+ initialize br_blocks in the thlcgwasm constructor
|
3 years ago |
Nikolay Nikolov
|
a3610bfea1
+ also added stack underflow check in thlcgwasm.incstack (in case stack
|
3 years ago |
Nikolay Nikolov
|
d4bd1f1e9b
* don't halt with an internal error, but add an asm comment instead, when a
|
3 years ago |
Nikolay Nikolov
|
58e4692795
* fixed thlcgwasm.g_adjust_stack_after_call after the removal of discardresult
|
3 years ago |
Nikolay Nikolov
|
9526b939a2
+ implemented thlcgwasm.g_unreachable, emits the 'unreachable' WebAssembly instruction
|
3 years ago |
Nikolay Nikolov
|
3bf5b0c395
- avoid useless typecasts for accessing members in self in thlcgwasm.a_load_subsetref_regs_index
|
3 years ago |
Nikolay Nikolov
|
4120825f50
+ implemented thlcgwasm.a_load_regconst_subsetref_intern
|
3 years ago |
Nikolay Nikolov
|
7af6e628c8
+ implemented thlcgwasm.a_load_subsetref_regs_index
|
3 years ago |
Nikolay Nikolov
|
c41516399b
+ implemented thlcgwasm.a_load_subsetref_stack
|
3 years ago |
Nikolay Nikolov
|
ba9a8ab069
+ added thlcgwasm.a_load_subsetref_stack, not implemented yet
|
3 years ago |
nickysn
|
74bac86711
+ support loading a function result (on the evaluation stack) to a register in
|
4 years ago |
nickysn
|
9fa61a6c9f
- removed the discardresult proc directive
|
4 years ago |
nickysn
|
ecad5e9a6c
+ WebAssembly implementation of g_rangecheck that uses if/endif instead of
|
4 years ago |
nickysn
|
f0aed5d355
* fixed another WebAssembly compilation error with -CR
|
4 years ago |
nickysn
|
74854eee58
* fixed WebAssembly compilation error with -CR
|
4 years ago |