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 |
nickysn
|
374882455b
- disallow (i.e. generate internal errors) the use of a_cmp_*_label functions
|
4 years ago |
nickysn
|
c781e03edf
+ implemented WebAssembly code generation for case statements
|
4 years ago |
nickysn
|
627d5580db
* fixed bug in thlcgwasm.a_op_ref_stack
|
4 years ago |
nickysn
|
af9cc646a9
* use regular loads instead of calling MOVE for 1,2,4 and 8-byte sized g_concatcopy
|
4 years ago |
nickysn
|
bdb972cec6
+ support OP_NEG in thlcgwasm.a_op_stack
|
4 years ago |
nickysn
|
d9b76dc00f
+ implemented g_concatcopy via calling MOVE
|
4 years ago |
nickysn
|
29ee9a648d
- more JVM cleanup
|
4 years ago |
nickysn
|
d7695db80e
- don't override def2regtyp
|
4 years ago |
nickysn
|
e04c1221a2
- don't override thlcgwasm.gen_load_return_value
|
4 years ago |
nickysn
|
e7ce1feed0
- more JVM leftovers cleanup
|
4 years ago |
nickysn
|
1f3ff5f496
- clean up more JVM stuff
|
4 years ago |
nickysn
|
542c3fca3e
- more JVM methods removed
|
4 years ago |
nickysn
|
db1a4d57a2
- removed some more unneeded for WASM methods, copied from the JVM hl codegen
|
4 years ago |