Commit Graph

30 Commits

Author SHA1 Message Date
Nikolay Nikolov
2f1ccd6f2a + support 'promising last' exports 2023-06-16 11:00:19 +03:00
Nikolay Nikolov
9d893b5d0d * tcpuprocdef.promising_export_name renamed promising_first_export_name 2023-06-16 10:50:35 +03:00
Nikolay Nikolov
9ea1f6de19 + added 'last' or 'first' to the internal promising wrapper name 2023-06-13 12:15:46 +03:00
Nikolay Nikolov
c67bcf0032 + introduced tcpuprocdef.add_promising_export 2023-06-13 11:57:23 +03:00
Nikolay Nikolov
15c95e0ac7 + initial implementation of WebAssembly promising exports 2023-06-11 16:43:45 +03:00
Nikolay Nikolov
b247302871 + initial attempt (not fully working, yet) at implementing WebAssembly suspending externals 2023-06-11 14:07:35 +03:00
Nikolay Nikolov
8eea58f649 + support WebAssembly reference types as WebAssembly globals 2023-06-11 10:31:12 +03:00
Nikolay Nikolov
ca03841724 - removed redundant semicolon 2023-06-11 06:07:13 +03:00
Nikolay Nikolov
a47a1c093a * disallow conversion between regular pointers and WasmExternRef 2023-06-11 05:28:39 +03:00
Nikolay Nikolov
1f76366125 + introduced the is_wasm_reference_type(tdef) helper 2023-06-05 05:00:31 +03:00
Nikolay Nikolov
5cc4096f41 * formatting 2023-06-05 04:56:03 +03:00
Nikolay Nikolov
c33f47a707 + introduced is_wasm_externref(tdef) helper 2023-06-05 04:55:33 +03:00
Nikolay Nikolov
022d2804a9 + introduced is_wasm_funcref(tdef) helper 2023-06-05 04:51:03 +03:00
Nikolay Nikolov
dd09bf64b3 + handle externref parameters in create_functype_common 2023-06-05 04:37:54 +03:00
Nikolay Nikolov
3e21d24098 + magically insert a void externref type in the System unit, called WasmExternRef 2023-06-05 04:26:57 +03:00
Nikolay Nikolov
c925c1aaa6 + introduced flag is_wasm_externref to tcpupointerdef for wasm32. This is to be
used for declaring WebAssembly externref reference types.
2023-06-05 04:09:56 +03:00
Nikolay Nikolov
ad69c6e1b5 + also support funcref parameters in create_functype_common 2023-06-05 02:53:44 +03:00
Nikolay Nikolov
bebe53ef9f * added support and simplified the handling of results in create_functype_common for reference types 2023-06-05 02:46:34 +03:00
Nikolay Nikolov
6e1d7b4e57 + introduced methods for converting WebAssembly global var types from a Pascal type to TWasmBasicType 2022-07-25 02:44:51 +03:00
Nikolay Nikolov
8d441929a8 + introduced tcpustaticvarsym.is_wasm_global 2022-07-25 01:09:09 +03:00
nickysn
74854eee58 * fixed WebAssembly compilation error with -CR
git-svn-id: trunk@48964 -
2021-03-14 15:03:58 +00:00
nickysn
eb7db76a31 * fixed compiler internal error, when compiling a unit that has an external function in its interface section
git-svn-id: branches/wasm@48421 -
2021-01-25 20:53:01 +00:00
nickysn
910bbc6b37 * override is_pushleftright for WebAssembly and make it return true
git-svn-id: branches/wasm@48312 -
2021-01-22 02:59:13 +00:00
nickysn
4d758a64c2 * make functions, that return result in param to not have a return type in WebAssembly
git-svn-id: branches/wasm@48260 -
2021-01-21 04:44:48 +00:00
nickysn
5b961c4125 - removed several JVM methods that aren't necessary for WebAssembly
git-svn-id: branches/wasm@48058 -
2021-01-04 16:34:28 +00:00
nickysn
b6735179ed * use a functype operand for a_if, instead of hardcoding
git-svn-id: branches/wasm@48028 -
2021-01-04 11:01:18 +00:00
nickysn
56f65799d3 + functype creation moved to tcpuprocdef.create_functype
git-svn-id: branches/wasm@47964 -
2021-01-02 12:06:05 +00:00
nickysn
80fd387a51 - removed the tcpupropertysym overrides from the jvm, because they're not needed for wasm
git-svn-id: branches/wasm@47959 -
2021-01-02 08:59:12 +00:00
nickysn
4a5e2dbd23 * refactored the handling of the frame pointer and base pointer to use local temps instead
git-svn-id: branches/wasm@46837 -
2020-09-11 14:35:51 +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