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 |
nickysn
|
5b961c4125
- removed several JVM methods that aren't necessary for WebAssembly
|
4 years ago |
nickysn
|
f95b74f929
* fixed stack tracking in thlcgwasm.a_op_reg_reg_reg_checkoverflow
|
4 years ago |
nickysn
|
92ac6bace9
* stack tracking fix for trunc32 in thlcgwasm.a_op_stack
|
4 years ago |
nickysn
|
b84bb3e9c4
* fixed stack tracking in thlcgwasm.resizestackfpuval
|
4 years ago |