Commit Graph

69138 Commits

Author SHA1 Message Date
kagamma
ef4a94541e Reverts TInputLine.GetData changes 2024-12-30 06:46:29 +00:00
kagamma
c8958f3ab7 Minor correction 2024-01-31 06:21:00 +00:00
kagamma
c2111cab51 Fixes for FV TInputLine's GetData, SetData and DataSize functions 2024-01-31 05:31:35 +00:00
Nikolay Nikolov
5e0dcfb49b + introduced TWasmValidationStacks.Unreachable 2024-01-31 02:57:19 +02:00
Nikolay Nikolov
24315a7f28 + introduced TWasmValidationStacks.label_types 2024-01-31 02:45:43 +02:00
Nikolay Nikolov
f3e667da42 + introduced TWasmValidationStacks.PopCtrl 2024-01-31 02:38:09 +02:00
Nikolay Nikolov
4cb97dcdb3 * fixed warning 2024-01-31 02:33:31 +02:00
Nikolay Nikolov
4cc5cf4d0e + introduced TWasmValidationStacks.PushCtrl 2024-01-31 02:25:44 +02:00
Nikolay Nikolov
18c6e13f45 * fixed warning 2024-01-31 02:19:03 +02:00
Nikolay Nikolov
064adbf3f8 + introduced TWasmValidationStacks.PopVals 2024-01-31 02:15:09 +02:00
Nikolay Nikolov
4d5479741d + introduced TWasmValidationStacks.PushVals 2024-01-31 02:11:59 +02:00
Nikolay Nikolov
2d5c1d43cf + introduced TWasmValidationStacks.PopVal(expect) 2024-01-31 02:10:05 +02:00
Nikolay Nikolov
d575aa5240 + introduced TWasmBasicTypeList 2024-01-31 01:55:38 +02:00
Nikolay Nikolov
1786875319 + implemented TWasmValueStack.GetCount
+ implemented TWasmControlStack.GetCount
+ implemented TWasmValidationStacks.PopVal
2024-01-31 01:52:05 +02:00
Nikolay Nikolov
3f0853692c + implemented methods in TWasmControlStack: Push, Pop, GetItems, SetItems 2024-01-31 01:20:24 +02:00
Nikolay Nikolov
506634f261 * TWasmControlFrame changed to a record 2024-01-31 01:05:02 +02:00
florian
ff3b4adc27 + more CPU and FPU flags added 2024-01-30 22:55:42 +01:00
Michaël Van Canneyt
c9b7a3b3b5 * Use value for fmShareNoLocking which does not overlap with classes fmCreate 2024-01-30 13:35:54 +01:00
florian
dc30431d89 * compile with stack checking 2024-01-29 23:28:21 +01:00
Michaël Van Canneyt
d89851d094 * Fixed compilation with FPC 3.2.2 2024-01-29 21:15:20 +01:00
Michaël Van Canneyt
f0703c4dac * Fix exit code 2024-01-29 20:58:39 +01:00
Pierre Muller
529b64790b Avoid 'false' warning: Local variable "gap_index" does not seem to be initialized on cycle with -O3 option 2024-01-29 18:15:28 +01:00
Pierre Muller
57e74e0c8b Regenerated Makefile's after: Add linux dependency on syscall unit for libc on i386 and x86_64 2024-01-29 11:20:47 +00:00
Pierre Muller
2e6a31df8b Add linux dependency on syscall unit for libc on i386 and x86_64 2024-01-29 11:20:09 +00:00
Michaël Van Canneyt
1546c4a794 * Set executeredir 2024-01-29 08:59:56 +01:00
Michaël Van Canneyt
031539dd69 * Use TProcess file redirection facilities 2024-01-28 11:30:37 +01:00
Michaël Van Canneyt
2e1c7cbc10 * Do not lock output files 2024-01-28 11:30:37 +01:00
Michaël Van Canneyt
c3339e9a51 * Prevent file handle leak 2024-01-28 11:30:37 +01:00
Michaël Van Canneyt
e79f5ef577 * Introduce fmShareNoLocking to disable locking of file descriptors on unix 2024-01-28 11:30:37 +01:00
J. Gareth "Curious Kit" Moreton
bac4ca19e7 * Fixed internal error 2022041701 number clash (LLVM changed to 2022041730) 2024-01-28 09:34:14 +00:00
Henrique Gottardi Werlang
664f8fc2ba Fix for default value of a class of type. 2024-01-28 07:47:51 +00:00
florian
b32573d1eb * inserting $result into the symtables should never trigger a duplicate symbol error, resolves #40608 2024-01-27 22:05:31 +01:00
florian
272417e602 * while on windows the max. possible year should be 1980+127=2127, 2104 causes an error (seems to be limited to 2099), so stay with 2096 2024-01-27 20:38:06 +01:00
J. Gareth "Curious Kit" Moreton
b514e979bd * Fixed issue where OptPass2CMP and OptPass2TEST didn't drop out on labels etc. 2024-01-27 19:00:50 +00:00
J. Gareth "Curious Kit" Moreton
2e441609be * Fixed issue where TryCmpCMovOpts produced bad
code if the last MOV got moved.
2024-01-27 19:00:50 +00:00
Michaël Van Canneyt
bcaae57798 * Replace widestring with unicodestring (faster on windows). Fixes issue #40613 2024-01-27 17:45:10 +01:00
Rika Ichinose
48815baef6 Load oleaut32.dll for widestrings on demand.
Most of the applications don’t and shouldn’t use widestrings, as unicodestrings are superior.
2024-01-26 22:09:41 +00:00
florian
d901f72002 * named test properly 2024-01-26 21:43:18 +01:00
florian
acb6c7f36b * win64 has always SetThreadStackGuarantee 2024-01-26 21:42:26 +01:00
Rika Ichinose
a774075f2f Support Windows XP where SetThreadStackGuarantee is absent. 2024-01-26 16:57:49 +03:00
florian
a2f2af87d2 * Windows CE does not support SetThreadStackGuarantee 2024-01-25 22:06:13 +01:00
Pierre Muller
11b0b9dc57 Use reverse_byte to write constant sets in cross-endian configuration 2024-01-25 11:04:42 +00:00
Pierre Muller
5eda6e027d * Add internal_endian field to tppudumpfile class
* Check that this new field is indeed set, once only, by
    header flags.
  * Use this flag to extract high and low parts of floatx80
    record for soft floatx80 support.
2024-01-25 11:00:28 +00:00
Pierre Muller
71ba76532b * Fix writing of 'comp' type depending on FPC_COMP_IS_INT64 macro.
* Fix writing of floatx80 on systems with gaps due to alignment requirements.
2024-01-25 10:17:11 +00:00
Pierre Muller
8ae28b4846 Fix writing of low qword of floatx80 real type into 10-byte array on big endian systems 2024-01-25 10:13:21 +00:00
Pierre Muller
3db060e47a Use writeUInt32LE/writeUInt16LE method to write multi-byte integer in importlib method in t_win unit (as all supported CPUs are little endian) 2024-01-25 01:01:06 +00:00
florian
14ab1cfb71 * set stack margin on windows, so there is stack space left for exception handling in case of a stack overflow, resolves #40589 2024-01-24 21:31:03 +01:00
florian
c4fc5fc916 * disable OptPass2Test and OptPass2CMP for now as it seems to result in buggy code 2024-01-23 22:11:59 +01:00
Sven/Sarah Barth
981ec64666 * fix #40594: when assigning a nested function to a function reference don't check for the nested procvars parameter, because nested functions can be treated like anonymous functions here
+ added test
2024-01-22 22:27:33 +01:00
Sven/Sarah Barth
feb79e0068 - the setter for tloadnode.procdef is not used, so remove it so that that tloadnode.setprocdef can be extended 2024-01-22 22:27:33 +01:00