Nikolay Nikolov
|
6bc52b046c
|
* disallow passing WebAssembly reference types as untyped var/constref/const parameters
|
2023-11-08 23:33:54 +01:00 |
|
Nikolay Nikolov
|
a35f6221fe
|
* fixed program name in test
|
2023-11-08 23:33:54 +01:00 |
|
Nikolay Nikolov
|
773b36c21e
|
* disallow WebAssembly reference types to be declared as var, constref or out parameters
|
2023-11-08 23:33:51 +01:00 |
|
Nikolay Nikolov
|
c04c513a5d
|
+ support nil comparison of WebAssembly reference types (externref and funcref)
|
2023-11-08 23:33:17 +01:00 |
|
Nikolay Nikolov
|
57e99cc094
|
+ support using nil constants for setting values of WebAssembly reference types (funcref and externref)
|
2023-11-08 23:33:17 +01:00 |
|
Nikolay Nikolov
|
425f52d601
|
- removed redundant semicolon
|
2023-11-08 23:33:17 +01:00 |
|
Nikolay Nikolov
|
ded26eeacf
|
+ also test that pointers cannot be converted to externref implicitly
|
2023-11-08 23:33:16 +01:00 |
|
Nikolay Nikolov
|
3e9a29a46f
|
* disallow conversion between regular pointers and WasmExternRef
|
2023-11-08 23:33:16 +01:00 |
|
Nikolay Nikolov
|
4c096f8389
|
* fixed test's program name
|
2023-11-08 23:33:16 +01:00 |
|
Nikolay Nikolov
|
d531ec05c9
|
+ some basic tests for WebAssembly funcref types added
|
2023-11-08 23:33:16 +01:00 |
|
Nikolay Nikolov
|
457d0e598b
|
+ also check for assigned(left) after calling inherited in twasmaddrnode.pass_typecheck, to avoid another crash
|
2023-11-08 23:33:16 +01:00 |
|
Nikolay Nikolov
|
48edb0377e
|
* check for codegenerror in twasmaddrnode.pass_typecheck and exit early, to avoid crashes
|
2023-11-08 23:33:16 +01:00 |
|
Nikolay Nikolov
|
e06dad148d
|
+ disallow taking the address of WebAssembly externref type
|
2023-11-08 23:33:08 +01:00 |
|
Nikolay Nikolov
|
fdd47f9f12
|
+ simple test for WasmExternRef
|
2023-11-08 23:30:11 +01:00 |
|
Michaël Van Canneyt
|
6e171162fd
|
* Correct filename extensions for qoi. Fixes issue #40314
|
2023-11-08 23:30:11 +01:00 |
|
marcoonthegit
|
da876d28b9
|
* move ifdefed part from tvitem* to tvitemex*, closes #40312
|
2023-11-08 23:30:11 +01:00 |
|
Pierre Muller
|
d1fc7faa83
|
Disable substitution by environment variables in message comment related functions
|
2023-11-08 23:30:10 +01:00 |
|
Pierre Muller
|
1fc338b555
|
Add new substitute_env_variables parameter for DefaultReplacements function (with default true value)
|
2023-11-08 23:30:10 +01:00 |
|
mattias
|
0556b9ae4c
|
fcl-web: fixed compile
|
2023-11-08 23:30:10 +01:00 |
|
mattias
|
fc1d4212a4
|
fcl-web: made TFPCustomHTTPServer.CreateUpgradeHandlerList virtual
|
2023-11-08 23:30:10 +01:00 |
|
mattias
|
289561297a
|
rtl: fixed indentation
|
2023-11-08 23:30:10 +01:00 |
|
Michaël Van Canneyt
|
453206b05e
|
* Correct name
|
2023-11-08 23:30:10 +01:00 |
|
Michaël Van Canneyt
|
086da71533
|
* Add some methods for improved DUnit compatibility
|
2023-11-08 23:30:10 +01:00 |
|
Michaël Van Canneyt
|
6d1d040440
|
* Disable result, explicit list cmmand-line argument
|
2023-11-08 23:30:10 +01:00 |
|
Michaël Van Canneyt
|
bcc3387ddc
|
* GetAttribute call
|
2023-11-08 23:30:10 +01:00 |
|
Michaël Van Canneyt
|
1829d35f37
|
* Add PProcedureSignature
|
2023-11-08 23:30:10 +01:00 |
|
Michaël Van Canneyt
|
4f9b2ecebd
|
* Add TNoRefCountObject (delphi compatibility)
|
2023-11-08 23:30:10 +01:00 |
|
Nikolay Nikolov
|
1cfb35d1d6
|
+ WebAssembly internal assembler support for the ref.is_null instruction
|
2023-11-08 23:30:10 +01:00 |
|
Nikolay Nikolov
|
957ff5b972
|
+ WebAssembly internal asm support for the ref.null instruction
|
2023-11-08 23:30:09 +01:00 |
|
Nikolay Nikolov
|
941520415d
|
+ implemented WebAssembly code generator support for funcref and externref data
types, using new register types R_FUNCREFREGISTER and R_EXTERNREFREGISTER
|
2023-11-08 23:30:09 +01:00 |
|
Nikolay Nikolov
|
4044091401
|
* fixed the textual representation of the ref.null instruction for llvm-mc
|
2023-11-08 23:30:09 +01:00 |
|
Nikolay Nikolov
|
5a65ca51c0
|
+ enable the reference types extension in llvm-mc via a command line option
|
2023-11-08 23:30:09 +01:00 |
|
Nikolay Nikolov
|
75e2fd3c2d
|
* the a_ref_null instruction split into two subinstructions - a_ref_null_externref and a_ref_null_funcref
|
2023-11-08 23:30:09 +01:00 |
|
Nikolay Nikolov
|
c7cca2dab3
|
+ introduced the is_wasm_reference_type(tdef) helper
|
2023-11-08 23:30:09 +01:00 |
|
Nikolay Nikolov
|
f7f1d36a1e
|
* formatting
|
2023-11-08 23:30:09 +01:00 |
|
Nikolay Nikolov
|
87ae1e9529
|
+ introduced is_wasm_externref(tdef) helper
|
2023-11-08 23:30:09 +01:00 |
|
Nikolay Nikolov
|
f8c9efd9b3
|
+ introduced is_wasm_funcref(tdef) helper
|
2023-11-08 23:30:09 +01:00 |
|
Nikolay Nikolov
|
db3a1a3593
|
+ handle externref parameters in create_functype_common
|
2023-11-08 23:30:09 +01:00 |
|
Nikolay Nikolov
|
6b76ea63a0
|
+ support externref in defToWasmBasic
|
2023-11-08 23:30:09 +01:00 |
|
Nikolay Nikolov
|
8df95f539d
|
+ magically insert a void externref type in the System unit, called WasmExternRef
|
2023-11-08 23:30:09 +01:00 |
|
Nikolay Nikolov
|
340e178b0e
|
+ introduced flag is_wasm_externref to tcpupointerdef for wasm32. This is to be
used for declaring WebAssembly externref reference types.
|
2023-11-08 23:30:09 +01:00 |
|
Nikolay Nikolov
|
bc43800a6e
|
+ also support funcref parameters in create_functype_common
|
2023-11-08 23:30:08 +01:00 |
|
Nikolay Nikolov
|
4a17b7737b
|
* added support and simplified the handling of results in create_functype_common for reference types
|
2023-11-08 23:30:08 +01:00 |
|
Nikolay Nikolov
|
c6fdda725f
|
+ handle wasm funcrefs in tgcpu.defToWasmBasic
|
2023-11-08 23:30:08 +01:00 |
|
Nikolay Nikolov
|
b7d9705cd1
|
* ppudump compilation fixed
|
2023-11-08 23:30:08 +01:00 |
|
Nikolay Nikolov
|
7323c5bf1a
|
+ added the wasmfuncref directive for procvars. Not actually implemented, just
parsed.
|
2023-11-08 23:30:08 +01:00 |
|
Nikolay Nikolov
|
a1ed717d81
|
+ added wasm32-specific flag tai_label.is_pascal_goto_target
|
2023-11-08 23:30:08 +01:00 |
|
Nikolay Nikolov
|
ad7d4379fe
|
+ introduced [hl]cg.a_label_pascal_goto_target. It is similar to [hl]cg.a_label
and is called by the code generator, when the label generated is the result of
a Pascal label.
|
2023-11-08 23:30:08 +01:00 |
|
Sven/Sarah Barth
|
1d0926bdc3
|
* fix #40293: have the SysUtils unit use the TArray<> declaration in the ObjPas unit instead of declaring it again
|
2023-11-08 23:30:08 +01:00 |
|
Michaël Van Canneyt
|
7230673b6c
|
* Forgot to add file
|
2023-11-08 23:30:08 +01:00 |
|