nickysn
|
910bbc6b37
* override is_pushleftright for WebAssembly and make it return true
|
4 years ago |
nickysn
|
61ba4869ae
* quick and dirty fix for the move parameter order passing in g_concatcopy
|
4 years ago |
nickysn
|
4d933d74b9
+ call the inherited methods for generating the standard entry/exit code, so that units are initialized/finalized
|
4 years ago |
nickysn
|
7e958e0a35
+ introduced the discardresult directive and declared the UniqueString()
|
4 years ago |
nickysn
|
187659ff02
+ more accurate stack tracking in thlcgwasm.a_loadaddr_ref_stack
|
4 years ago |
nickysn
|
84e2299399
* fixed getting of float function result after call
|
4 years ago |
nickysn
|
545c949586
* fixed thlcgwasm.a_op_ref_stack - it was not emitting the actual operation opcode
|
4 years ago |
nickysn
|
4fa09a6f8b
- removed the trunc32 parameter of thlcgwasm.a_op_stack, because it is no longer used, nor necessary
|
4 years ago |
nickysn
|
3bdf0938c0
- removed thlcgwasm.maybepreparedivu32, because it is not needed - WebAssembly has 32-bit unsigned division, unlike the JVM
|
4 years ago |
nickysn
|
ffebab9691
* fixed byte/word to int64 conversion in thlcgwasm.resize_stack_int_val
|
4 years ago |
nickysn
|
dc9feba435
- removed thlcgwasm.loadstoreopc and replaced it with direct code - this actually improves code readability now
|
4 years ago |
nickysn
|
aaf28ca259
- removed commented out code
|
4 years ago |
nickysn
|
72abf6f472
+ add "fingerprints" in the beginning of each routine for easier debugging (this
|
4 years ago |
nickysn
|
cb12a91936
* both stack parameters of 64-bit SHL/SHR/SAR in WebAssembly should be 64-bit, unlike the JVM
|
4 years ago |
nickysn
|
a6410fae90
* fixes to the type conversions in thlcgwasm.resize_stack_int_val
|
4 years ago |
nickysn
|
17bfdee158
* decstack after call_indirect
|
4 years ago |
nickysn
|
e4c9f030af
* more precise stack tracking in thlcgwasm.prepare_stack_for_ref
|
4 years ago |
nickysn
|
2bdd089645
- removed unused parameters from g_adjust_stack_after_call for WebAssembly
|
4 years ago |
nickysn
|
b3eca0e4f9
+ produce a warning for values, remaining on top of stack at end of function
|
4 years ago |
nickysn
|
dd00619e1a
* improved the accuracy of the stack tracking in g_adjust_stack_after_call
|
4 years ago |
nickysn
|
fdf1f7d966
* adjust stack correctly in a_op_stack
|
4 years ago |
nickysn
|
8697fb4822
* write the WebAssembly procdefs in the standard way, instead of using the special JVM way
|
4 years ago |
nickysn
|
f8361cb5dd
* fixed internal error with functions with ret_in_param result types and unitialized result
|
4 years ago |
nickysn
|
0f235f38ab
+ introduced thlcgwasm.a_loadaddr_ref_stack
|
4 years ago |
nickysn
|
cc94ab3ab8
+ implemented length() code generation for WebAssembly
|
4 years ago |
nickysn
|
aafc6423f0
+ introduced a_cmp_loc_reg_br, a_cmp_reg_loc_br and a_cmp_ref_loc_br
|
4 years ago |
nickysn
|
fe5dee892f
+ introduced a_cmp_subsetreg_reg_br and a_cmp_subsetref_reg_br
|
4 years ago |
nickysn
|
db4c786059
+ introduced a_cmp_const_loc_br
|
4 years ago |
nickysn
|
f9d1a9b8e3
* decstack after each br_if in the a_cmp_XXX_br methods
|
4 years ago |
nickysn
|
af41eee9d1
+ support references with only index reg, and no base reg in thlcgwasm.prepare_stack_for_ref
|
4 years ago |