nickysn
|
64a02834ff
- commented out thlcgwasm.g_copyvalueparas
|
4 years ago |
nickysn
|
91ed9f12ac
- removed unused local var from thlcgwasm.prepare_stack_for_ref
|
4 years ago |
nickysn
|
c470e851ba
+ generic implementation of thlcgwasm.a_loadaddr_ref_reg that should handle all possible combinations of base, index
|
4 years ago |
nickysn
|
e4f4f25c44
+ handle any base and no index in the second if case in thlcgwasm.a_loadaddr_ref_reg
|
4 years ago |
nickysn
|
2084fede95
+ handle all constant address (regardless of whether they are relative to a symbol or not) in thlcgwasm.a_loadaddr_ref_reg
|
4 years ago |
nickysn
|
ded9afb787
+ check and generate an internal error if you attempt to take the address of a reference that exists in the local
|
4 years ago |
nickysn
|
a1f5b57070
+ also check for ref.index and ref.symbol in the NR_LOCAL_FRAME_POINTER_REG base case in thlcgwasm.a_loadaddr_ref_reg
|
4 years ago |
nickysn
|
46bf123fcd
+ also ensure that ref.base and ref.index are not set for symbols in thlcgwasm.a_loadaddr_ref_reg
|
4 years ago |
nickysn
|
15387514b4
* changed the formatting in thlcgwasm.a_loadaddr_ref_reg to fit the style of the other compiler code
|
4 years ago |
nickysn
|
88d42344db
- removed comment thlcgwasm.a_loadaddr_ref_reg that is not true for wasm
|
4 years ago |
nickysn
|
acb13602ea
* fixed getting the address of local variables
|
4 years ago |
nickysn
|
31bc357c1b
* fixed internal error 2019083002 with e.g. inc(local)
|
4 years ago |
nickysn
|
46a09bd8e4
* fixed thlcgwasm.a_load_ref_ref for NR_EVAL_STACK_BASE source references
|
4 years ago |
nickysn
|
08580ed628
+ introduced ttgwasm(tg).allocframepointer and .allocbasepointer
|
4 years ago |
nickysn
|
90251d7050
* allocate the base and frame pointer correctly as locals after the previous commit
|
4 years ago |
nickysn
|
bfb13fb848
- get rid of treference.islocal. Instead, use checks whether treference.base
|
4 years ago |
nickysn
|
2c56514135
- removed thlcgwasm.a_load_const_stack_intern - it comes from the JVM code
|
4 years ago |
nickysn
|
c0bbe6d8c0
* 64-bit constants take a single stack slot in WebAssembly. Don't incstack a
|
4 years ago |
nickysn
|
99482051a8
* write the unsupported parameter type in thlcgwam.g_procdef, when compiler is compiled with EXTDEBUG
|
4 years ago |
nickysn
|
fbe9e975e5
+ support dup in some more cases in thlcgwasm.prepare_stack_for_ref
|
4 years ago |
nickysn
|
d2a4e3b441
- removed debug writeln from thlcgwasm.prepare_stack_for_ref
|
4 years ago |
nickysn
|
3c3a8ce111
* fixed bug in thlcgwasm.a_cmp_const_ref_label
|
4 years ago |
nickysn
|
c46f308749
+ support dup for symbols in prepare_stack_for_ref
|
4 years ago |
nickysn
|
64b2d8ef85
* wasm base and index reference access fixes
|
4 years ago |
nickysn
|
d15e9717e3
* treference parameter of prepare_stack_for_ref changed to var
|
4 years ago |
nickysn
|
0bb255709f
* formatting
|
4 years ago |
nickysn
|
9972d0e7d9
+ internal error in thlcgwasm.prepare_stack_for_ref for symbol with registers
|
4 years ago |
nickysn
|
5128c07e68
* fixed writing to global variables
|
4 years ago |
nickysn
|
8211bcbd4c
* fixed getting the address of a global variable
|
4 years ago |
nickysn
|
bbe5e3d0e7
- removed spurious load of global symbols in thlcgwasm.prepare_stack_for_ref
|
4 years ago |