Commit Graph

68844 Commits

Author SHA1 Message Date
Nikolay Nikolov
e81b062e2d + WebAssembly object reader: implemented parsing of the import section 2023-12-24 16:35:39 +02:00
Nikolay Nikolov
57aead9a14 + added const sets for the WebAssembly reference, numeric and vector types 2023-12-24 16:35:39 +02:00
Nikolay Nikolov
e6a3aa3450 + import section duplicate check 2023-12-24 16:35:39 +02:00
Michaël Van Canneyt
124834fe29 * SUBTARGET defines 2023-12-24 15:08:06 +01:00
Michaël Van Canneyt
126cc09037 * Correct check on command-line for -t 2023-12-24 15:03:41 +01:00
Nikolay Nikolov
3bc6340424 - removed TODO comment 2023-12-24 15:28:01 +02:00
Nikolay Nikolov
01dbc63735 + input error message in case the type section size is unexpected/wrong 2023-12-24 15:04:22 +02:00
Nikolay Nikolov
a08c937beb + Wasm internal linker, object reader: implemented parsing of the type section 2023-12-24 14:57:16 +02:00
Nikolay Nikolov
2626b85984 + introduced decode_wasm_basic_type function 2023-12-24 14:30:06 +02:00
Nikolay Nikolov
90e7b2be56 + added functions for reading the different types of Wasm object sections 2023-12-24 14:12:53 +02:00
Nikolay Nikolov
34445a912a * implementation of TInternalLinkerWasi.DefaultLinkScript. Create a script that reads all the object files. 2023-12-24 12:45:18 +02:00
Nikolay Nikolov
54eb8de658 * write a WebAssembly header in TWasmExeOutput.writeData 2023-12-24 12:42:29 +02:00
Nikolay Nikolov
340499dd3a * override GetCodeSize, GetDataSize and GetBssSize in TInternalLinkerWasi to avoid crash 2023-12-24 12:38:52 +02:00
Nikolay Nikolov
6bead20fc3 * set CObjData in the TWasmExeOutput constructor 2023-12-24 12:35:50 +02:00
Nikolay Nikolov
0f8ecb73e7 * override and implement TInternalLinkerWasi.InitSysInitUnitName 2023-12-24 12:30:56 +02:00
Nikolay Nikolov
7879387861 * enable the WASM internal linker, in case the compiler is compiled with the ENABLE_WASM_INTERNAL_LINKER define 2023-12-24 12:22:59 +02:00
Nikolay Nikolov
790a58be52 + added ld_int_wasi constant. Register the WASI internal linker. 2023-12-24 12:18:15 +02:00
Michaël Van Canneyt
3b7d6d21e2 * Fix AV when freeing transactions. Reported by Pascal Riekenberg. Fixes issuu #40571 2023-12-23 23:11:25 +01:00
Karoly Balogh
65234c674a human68k: less fail in regenerating a Makefile 2023-12-23 16:05:32 +01:00
Karoly Balogh
7c3e792bc1 human68k: regenerated Makefile after the previous commit 2023-12-23 15:36:51 +01:00
Karoly Balogh
c38280ef3e human68k: added a totally untested DOS unit to the RTL 2023-12-23 15:36:51 +01:00
Karoly Balogh
53e7006d56 m68k: fix the assembler reader to bail out earlier on a failed parsing of a constant expression 2023-12-23 15:36:51 +01:00
Michaël Van Canneyt
8bf8272892 * Ensure code compiles with 3.2.2 2023-12-23 13:26:15 +01:00
Michaël Van Canneyt
ed000e6cd7 * Fix wrong TimeStampToMSecs result on 32-bit. Fixes issue #40522 2023-12-22 11:32:57 +01:00
mattias
c202c6c2fe pastojs: forbid subtarget -t parameter in config file 2023-12-20 19:42:50 +01:00
Michaël Van Canneyt
29e2277d98 * Add CreateAnonymousThread with anonymous procedure 2023-12-18 16:53:14 +01:00
florian
3539b4a6f3 * do str(...) optimization only in level 3+ mode 2023-12-17 18:32:40 +01:00
J. Gareth "Curious Kit" Moreton
81b22cc5d1 * TCallNode.simplify method introduced to convert Str with a constant into a direct string assignment 2023-12-17 15:15:36 +00:00
J. Gareth "Curious Kit" Moreton
e1f993c363 * tinlinenode.handle_str now uses the new intrinsiccode field for TCallNode 2023-12-17 15:15:36 +00:00
J. Gareth "Curious Kit" Moreton
28e7dd77de * A call node's original parameter ordering can now be remembered, and a method introduced to access this 2023-12-17 15:15:36 +00:00
J. Gareth "Curious Kit" Moreton
ea7b9c73f3 * New intrinsiccode field for TCallNode to track transmutation from TInlineNode 2023-12-17 15:15:36 +00:00
mattias
84fb1c5a68 pastojs: clean up 2023-12-16 14:26:12 +01:00
mattias
c22d1530f7 pastojs: fixed tests for new char init #0 2023-12-16 14:25:44 +01:00
mattias
3a5cd0760a fcl-passrc: fixed parse untyped vars 2023-12-16 11:37:56 +01:00
mattias
79d139d494 fcl-passrc: clean up 2023-12-16 11:30:59 +01:00
mattias
e549de1e3a pastojs: simplified 2023-12-16 11:13:19 +01:00
mattias
ae5a15825a pastojs: fixed cmd line help -t param 2023-12-16 11:12:53 +01:00
mattias
1f0488a955 fcl-passrc: clean up 2023-12-16 11:11:55 +01:00
mattias
2d40736203 fcl-passrc: fixed unique number 2023-12-16 11:11:09 +01:00
mattias
5f0c03be10 fcl-passrc: fixed ifdef 2023-12-16 11:10:34 +01:00
Michaël Van Canneyt
4d70faa3c2 * Disable inlining for the moment, so lazarus compiles 2023-12-14 18:13:10 +01:00
marcoonthegit
d91847f39c * typo fix in previous commit relating to #40558 2023-12-14 09:59:04 +01:00
marcoonthegit
59883da0a0 * fix for drive existence in windows app modus, closes #40558 2023-12-14 09:37:42 +01:00
J. Gareth "Curious Kit" Moreton
5c090fce2c * Node dumps now output the convention if it's not pocall_default 2023-12-13 21:35:31 +00:00
Henrique Gottardi Werlang
776216d032 Changed the default value for Char, to be a #0 char and not an empty string. 2023-12-13 13:41:51 +00:00
Michaël Van Canneyt
efe31e1e55 * Fix unicode rtl compilation 2023-12-13 14:16:23 +01:00
Michaël Van Canneyt
b95c02af16 * Update to latest version 18ad26b2bee562c00b8800ea4a20df1f946933e0 2023-12-11 19:23:46 +01:00
Karoly Balogh
a9ad18e623 h68units: new package with and for Human68k support units 2023-12-11 06:58:16 +01:00
Karoly Balogh
ee8903ea7b tosunits: add the README as doc 2023-12-11 06:58:16 +01:00
Rika Ichinose
ecc56d7e68 Attempt to save push/pop ebx on small non-GPR moves. 2023-12-10 13:26:39 +00:00