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 |
nickysn
|
594be1be04
* properly handle reference with negative offsets
|
4 years ago |
nickysn
|
b35d3c5f3a
* don't override inittempvariables for WebAssembly, because things like
|
4 years ago |
nickysn
|
1003d6499f
* formatting
|
4 years ago |
nickysn
|
9e95895a9b
* get rid of the internal error in thlcgwasm.a_cmp_ref_reg_stack by using swap_opcmp
|
4 years ago |
nickysn
|
5a84c4db61
- get rid of FRAME_POINTER_SYM and BASE_POINTER_SYM - they should not be used anymore
|
4 years ago |
nickysn
|
4d99fb3352
* allocate locals in a better way, so that we don't get 2 extra wasted locals per function
|
4 years ago |
nickysn
|
e0dffb1c2c
* fixes to the type conversions in thlcgwasm.resize_stack_int_val
|
4 years ago |
nickysn
|
f03245e05c
- get rid of maybe_adjust_cmp_stackval - it is unnecessary for WebAssembly,
|
4 years ago |
nickysn
|
a9264cc608
- removed commented out method g_copyvalueparas
|
4 years ago |
nickysn
|
3a0d84fde2
- removed outdated comment from thlcgwasm.a_cmp_stack_stack
|
4 years ago |
nickysn
|
f3482acbf9
- removed commented out code from thlcgwasm.g_proc_entry
|
4 years ago |
nickysn
|
83f88e515b
* renamed the a_get/set/tee_local/global asm ops a_local/global_set/get/tee
|
4 years ago |
nickysn
|
d8f55ebb48
* renamed the a_iXX_extendYYYY family of asm ops to their modern versions
|
4 years ago |
nickysn
|
910bbc6b37
* override is_pushleftright for WebAssembly and make it return true
|
4 years ago |