Commit Graph

16 Commits

Author SHA1 Message Date
nickysn
0315ab00d8 * map the currency type to the i64 WebAssembly type
git-svn-id: branches/wasm@48278 -
2021-01-21 17:32:55 +00:00
nickysn
253e64f66b + allocate 'noreuse' locals in allocbasepointer and allocframepointer
git-svn-id: branches/wasm@47898 -
2020-12-30 04:02:43 +00:00
nickysn
158da03691 + introduced TWasmLocal.allocnoreuse
git-svn-id: branches/wasm@47897 -
2020-12-30 03:46:32 +00:00
nickysn
08580ed628 + introduced ttgwasm(tg).allocframepointer and .allocbasepointer
git-svn-id: branches/wasm@47888 -
2020-12-29 06:08:40 +00:00
nickysn
4a1c295955 - removed the ttgwasm.getlocal override, so that local variables are allocated on the linear stack
git-svn-id: branches/wasm@47883 -
2020-12-29 03:20:55 +00:00
nickysn
c3ac9eb559 * only allocate a local for tt_regallocator temps in ttgwasm.gethltemp
git-svn-id: branches/wasm@47875 -
2020-12-28 18:43:50 +00:00
nickysn
4bac65be86 * set the wasm tempgen direction in the parent constructor, together with the other targets
git-svn-id: branches/wasm@47801 -
2020-12-17 15:37:08 +00:00
nickysn
2f889f3244 - removed the ttgwasm.alloctemp override, because it does nothing
git-svn-id: branches/wasm@47793 -
2020-12-16 16:16:07 +00:00
nickysn
577e39e57f - removed commented out methods (copied from the jvm code generator) from ttgwasm
git-svn-id: branches/wasm@47792 -
2020-12-16 16:14:36 +00:00
nickysn
a104c3d7a0 - removed ttgwasm.deallocLocalVar, as it is no longer used
git-svn-id: branches/wasm@47791 -
2020-12-16 16:13:06 +00:00
nickysn
58d361049f * some optimizations in TWasmLocalVars.dealloc(index: integer)
git-svn-id: branches/wasm@47790 -
2020-12-16 16:09:10 +00:00
nickysn
949d5e61f8 * several public methods of ttgwasm made private
git-svn-id: branches/wasm@47787 -
2020-12-16 13:33:03 +00:00
nickysn
ae60449699 * funnel all the wasm local var allocation, done by the register allocator, through the temp generator
git-svn-id: branches/wasm@47786 -
2020-12-16 13:26:27 +00:00
nickysn
bfb13fb848 - get rid of treference.islocal. Instead, use checks whether treference.base
is equal to NR_LOCAL_STACK_POINTER_REG

git-svn-id: branches/wasm@47779 -
2020-12-14 23:27:27 +00:00
nickysn
fd690e8ba1 * use NR_LOCAL_STACK_POINTER_REG in ttgwasm.localVarToRef
git-svn-id: branches/wasm@47777 -
2020-12-14 23:07:17 +00:00
nickysn
c9ee72b05a * the compiler/wasm directory renamed compiler/wasm32
git-svn-id: branches/wasm@46251 -
2020-08-05 14:19:18 +00:00