Commit Graph

69353 Commits

Author SHA1 Message Date
Pierre Muller
d69f0f7110 Rename test doexit to tdoexit to allow use inside testsuite 2024-02-25 08:52:18 +00:00
Pierre Muller
f04e92db39 Rename test docat to tdocat to allow use inside testsuite 2024-02-25 08:52:18 +00:00
Nikolay Nikolov
ab65c9889b + added the WasmBasicType to TWasmGlobalAsmSymbol. This will help WebAssembly
validation and stack tracking.
2024-02-25 08:54:39 +02:00
Nikolay Nikolov
f4b9d51aff + introduced TWasmGlobalAsmSymbol subclass of TAsmSymbol. Use it for all
AT_WASM_GLOBAL symbols. This allows in the future to add extra data to the
  TWasmGlobalAsmSymbol, such as the WebAssembly global type, which will aid in
  WebAssembly validation and stack tracking.
2024-02-25 07:29:56 +02:00
Nikolay Nikolov
b367d7c905 + introduced TAsmData.WeakRefAsmSymbolByClass 2024-02-25 07:18:22 +02:00
Nikolay Nikolov
26a2ae92ad + introduced TAsmData.RefAsmSymbolByClass - similar to RefAsmSymbol, but allows
to create a subclass of TAsmSymbol even in the case of external symbol.
2024-02-25 07:15:23 +02:00
Nikolay Nikolov
81d98f5ae2 + support the CALL instruction in TWasmValidationStacks.Validate 2024-02-25 04:51:14 +02:00
Nikolay Nikolov
21cc89f1e3 + added a second TWasmFuncType parameter to the CALL WebAssembly instruction. It
is not part of the WebAssembly syntax and binary encoding, but it helps
  WebAssembly stack tracking and validation.
2024-02-25 04:48:17 +02:00
florian
587af1c78e * icelake is x86-64-v4 2024-02-24 21:54:11 +01:00
J. Gareth "Curious Kit" Moreton
7c5847bc70 * x86: "StcClcSet(c)2Mov" optimisation now checks to see if the destination register is in use 2024-02-24 20:37:10 +00:00
Michaël Van Canneyt
74e47ccff6 * Remove haiku from list of targets for monitor support 2024-02-24 19:52:40 +01:00
Michaël Van Canneyt
b3800d38cb * Handle potential double defintion of INFINITE 2024-02-24 19:52:00 +01:00
Michaël Van Canneyt
b2dfcd6ee8 - Checked in by accident 2024-02-24 18:16:57 +01:00
Michaël Van Canneyt
09b0ca01cc + Add Simple MonitorSupport implementation 2024-02-24 18:11:23 +01:00
Michaël Van Canneyt
4c26e4f989 * Enable monitor support 2024-02-24 18:11:23 +01:00
Michaël Van Canneyt
e1b2feac33 * Set monitor structures in place 2024-02-24 18:11:23 +01:00
Michaël Van Canneyt
a2939e4187 * Force VMT at first position in system.tobject 2024-02-24 18:11:23 +01:00
Michaël Van Canneyt
04844d548b * Fix test compilation, broken after unicode rtl changes.. 2024-02-24 18:11:10 +01:00
Pierre Muller
49b62b272c Add objfpc mode to avoid compilation error 2024-02-24 11:54:51 +01:00
Nikolay Nikolov
2dcb15f88f + support a_call_indirect in TWasmValidationStacks.Validate 2024-02-24 10:49:15 +02:00
Pierre Muller
2efb72bede Use call to seterrno function inside FpSysCall functions for powerpc cpu on linux OS 2024-02-24 00:05:20 +03:00
florian
37ed03667f * fixed fpu_x86_64_v4_flags 2024-02-23 21:51:37 +01:00
Pierre Muller
7072813c86 Add fcl-process to TESTPACKAGESDIRECTDIRS variable 2024-02-23 16:00:06 +00:00
Pierre Muller
e7f9626592 Be sure not to add a symbol with empty name as an alias for function return variable 2024-02-23 16:00:05 +00:00
Pierre Muller
37c3e86c7f Also reset check_valid_var after calling var_para_allowed 2024-02-23 15:48:50 +00:00
Sven/Sarah Barth
3447512e29 * ensure that "type SomeName = type reference" is still allowed when function references are disabled
+ added test
2024-02-23 15:31:38 +01:00
Michaël Van Canneyt
ddf0774575 * Avoid index out of bounds error 2024-02-23 08:53:29 +01:00
florian
3cf7890352 * don't throw an internalerror in case of an illegal assignment to an open array, resolves #40662 2024-02-22 22:35:18 +01:00
Michaël Van Canneyt
9c5bfbeb78 * Return delphi-compatible output for TValue.ToString when empty 2024-02-22 14:41:51 +01:00
Michaël Van Canneyt
cbc938900f * Fix wrong assigned check pointed out by Gareth Moreton 2024-02-22 09:17:44 +01:00
Rika Ichinose
e87e14c7cc Make some i386.inc functions “nostackframe”. 2024-02-21 21:08:36 +00:00
florian
b8bf295cd1 * patch by Rika: Fold repetitive scandir.pas cases, resolves #40660 2024-02-21 22:01:44 +01:00
Jonas Maebe
8baa4f41db JVM: fix system unit compilation error
Apply same change as to systemh.inc in bccc0b195e
2024-02-21 21:48:29 +01:00
Michaël Van Canneyt
97495e93b8 * Delphi compatible TCollection.Sort() using helper 2024-02-21 10:31:29 +01:00
Sven/Sarah Barth
5c890b59e3 * fix #40655: apply changes to packrecords, packenum and setalloc using the recordpending*() functions so that they are applied correctly in case of them being used directly after a {$POP}{$PUSH} sequence
+ added test
2024-02-20 23:52:52 +01:00
florian
bccc0b195e * allow type = type ... ; syntax only for previously declared types, avoids also internal error for #40566 2024-02-20 23:14:31 +01:00
Michaël Van Canneyt
b61a0fab97 * CurveKappa, CurveKappaInv 2024-02-20 17:50:10 +01:00
Michaël Van Canneyt
9a344568df * RectWidth was not public 2024-02-20 17:48:26 +01:00
Michaël Van Canneyt
31b978f3b7 * Add UnicodeFromLocaleChars for Delphi compatibility 2024-02-20 17:09:35 +01:00
Michaël Van Canneyt
476780df77 * Add TPageType 2024-02-20 16:35:05 +01:00
Michaël Van Canneyt
dfa22fb53a * Add function reference version of TComparer.Construct 2024-02-20 16:12:14 +01:00
marcoonthegit
5c1997b3d5 * fix ident and executable note in profiler file 2024-02-20 15:49:09 +01:00
Michaël Van Canneyt
30a20cc209 * Add operators to TMethod, for Delphi compatibility 2024-02-20 15:36:18 +01:00
Michaël Van Canneyt
bc714c0fd7 * Added Delphi-compatible overload for ToString with UpdateCapacity argument 2024-02-20 14:49:13 +01:00
Michaël Van Canneyt
852cd355e4 * Use correct error number for missing widestring manager 2024-02-20 14:32:45 +01:00
Michaël Van Canneyt
ad93958e5b * Add delphi-compatible constant (including the typo in the name ;)) 2024-02-20 11:08:39 +01:00
Michaël Van Canneyt
8f8ce13b41 * Add IsUniqueGlobalComponentName 2024-02-20 11:01:35 +01:00
Michaël Van Canneyt
6f25cccda9 * Select proper stringbuilder depending on size of char 2024-02-20 10:46:44 +01:00
Michaël Van Canneyt
0790b98277 * Correct case 2024-02-20 10:36:14 +01:00
Michaël Van Canneyt
1e1b273c67 * Correct TCharArray declaration, disambiguate between widechar/char 2024-02-20 10:16:56 +01:00