nickysn
|
74bac86711
+ support loading a function result (on the evaluation stack) to a register in
|
4 vuotta sitten |
nickysn
|
9fa61a6c9f
- removed the discardresult proc directive
|
4 vuotta sitten |
nickysn
|
ecad5e9a6c
+ WebAssembly implementation of g_rangecheck that uses if/endif instead of
|
4 vuotta sitten |
nickysn
|
f0aed5d355
* fixed another WebAssembly compilation error with -CR
|
4 vuotta sitten |
nickysn
|
74854eee58
* fixed WebAssembly compilation error with -CR
|
4 vuotta sitten |
nickysn
|
594be1be04
* properly handle reference with negative offsets
|
4 vuotta sitten |
nickysn
|
b35d3c5f3a
* don't override inittempvariables for WebAssembly, because things like
|
4 vuotta sitten |
nickysn
|
1003d6499f
* formatting
|
4 vuotta sitten |
nickysn
|
9e95895a9b
* get rid of the internal error in thlcgwasm.a_cmp_ref_reg_stack by using swap_opcmp
|
4 vuotta sitten |
nickysn
|
5a84c4db61
- get rid of FRAME_POINTER_SYM and BASE_POINTER_SYM - they should not be used anymore
|
4 vuotta sitten |
nickysn
|
4d99fb3352
* allocate locals in a better way, so that we don't get 2 extra wasted locals per function
|
4 vuotta sitten |
nickysn
|
e0dffb1c2c
* fixes to the type conversions in thlcgwasm.resize_stack_int_val
|
4 vuotta sitten |
nickysn
|
f03245e05c
- get rid of maybe_adjust_cmp_stackval - it is unnecessary for WebAssembly,
|
4 vuotta sitten |
nickysn
|
a9264cc608
- removed commented out method g_copyvalueparas
|
4 vuotta sitten |
nickysn
|
3a0d84fde2
- removed outdated comment from thlcgwasm.a_cmp_stack_stack
|
4 vuotta sitten |
nickysn
|
f3482acbf9
- removed commented out code from thlcgwasm.g_proc_entry
|
4 vuotta sitten |
nickysn
|
83f88e515b
* renamed the a_get/set/tee_local/global asm ops a_local/global_set/get/tee
|
4 vuotta sitten |
nickysn
|
d8f55ebb48
* renamed the a_iXX_extendYYYY family of asm ops to their modern versions
|
4 vuotta sitten |
nickysn
|
910bbc6b37
* override is_pushleftright for WebAssembly and make it return true
|
4 vuotta sitten |
nickysn
|
61ba4869ae
* quick and dirty fix for the move parameter order passing in g_concatcopy
|
4 vuotta sitten |
nickysn
|
4d933d74b9
+ call the inherited methods for generating the standard entry/exit code, so that units are initialized/finalized
|
4 vuotta sitten |
nickysn
|
7e958e0a35
+ introduced the discardresult directive and declared the UniqueString()
|
4 vuotta sitten |
nickysn
|
187659ff02
+ more accurate stack tracking in thlcgwasm.a_loadaddr_ref_stack
|
4 vuotta sitten |
nickysn
|
84e2299399
* fixed getting of float function result after call
|
4 vuotta sitten |
nickysn
|
545c949586
* fixed thlcgwasm.a_op_ref_stack - it was not emitting the actual operation opcode
|
4 vuotta sitten |
nickysn
|
4fa09a6f8b
- removed the trunc32 parameter of thlcgwasm.a_op_stack, because it is no longer used, nor necessary
|
4 vuotta sitten |
nickysn
|
3bdf0938c0
- removed thlcgwasm.maybepreparedivu32, because it is not needed - WebAssembly has 32-bit unsigned division, unlike the JVM
|
4 vuotta sitten |
nickysn
|
ffebab9691
* fixed byte/word to int64 conversion in thlcgwasm.resize_stack_int_val
|
4 vuotta sitten |
nickysn
|
dc9feba435
- removed thlcgwasm.loadstoreopc and replaced it with direct code - this actually improves code readability now
|
4 vuotta sitten |
nickysn
|
aaf28ca259
- removed commented out code
|
4 vuotta sitten |