Commit Graph

66918 Commits

Author SHA1 Message Date
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
Michaël Van Canneyt
7bdd8105dd * Reorganize tests in more clear sets 2023-11-08 23:30:08 +01:00
Michaël Van Canneyt
9f08536d29 * Correct command-line handling 2023-11-08 23:30:08 +01:00
Michaël Van Canneyt
802f376cc5 * Delphi compatibility: Add conversion between TValue from/to variant and TVarRec 2023-11-08 23:30:08 +01:00
florian
02a6e33f0a * correct tripletcpustr, resolves #40301 2023-11-08 23:30:08 +01:00
Michael VAN CANNEYT
5502579ab9 * loongarch64 architecture reinstated 2023-11-08 23:30:07 +01:00
Michael VAN CANNEYT
899693a679 * Delegate darwin ifdef out of program flow, towards const, for clarity 2023-11-08 23:30:07 +01:00
Michael VAN CANNEYT
7a07cd904f * get rid os some warnings 2023-11-08 23:30:07 +01:00
Michael VAN CANNEYT
68e09b35f5 * Refactor: add utility routine to handle command-line changes 2023-11-08 23:30:07 +01:00
Michael VAN CANNEYT
41a1230044 * Refactor: Rename some variables for clarity 2023-11-08 23:30:07 +01:00
Michael VAN CANNEYT
f6838c9780 Refactor check for -PB and -PP for clarity of flow 2023-11-08 23:30:07 +01:00
Michael VAN CANNEYT
0fd2734504 Refactor initialization of binary and processor name for clarity of flow 2023-11-08 23:30:07 +01:00
Michael VAN CANNEYT
1c673fc967 * Refactor processorname -> suffix name for clarity of flow 2023-11-08 23:30:07 +01:00