Commit Graph

71541 Commits

Author SHA1 Message Date
Nikolay Nikolov
4e3fc8290a + WebAssembly internal linker: write the indirect function table to the linker map file 2025-02-14 16:33:02 +02:00
Pierre Muller
6852903b57 Add missing allow C like operators to head of utcstrutils unit source 2025-02-14 13:54:04 +00:00
Nikolay Nikolov
d88aad944e + WebAssembly internal linker: add the contents of the type section to the map file 2025-02-14 04:58:40 +02:00
Nikolay Nikolov
21668148d8 * WebAssembly internal linker: invoke helper code generation moved earlier,
before the relocation fixups are applied. This should make the DWARF debug
  line info correct again. Also, the offsets in the linker map file should be
  correct now, as well.
2025-02-14 00:10:37 +02:00
florian
27e17e3186 + RiscV64: make use of rev8 instruction 2025-02-13 22:44:44 +01:00
Michaël Van Canneyt
708a479fdd * ID is now handled in webassembly 2025-02-13 15:54:04 +01:00
Michaël Van Canneyt
008397cb49 * Object ID must be controlled by wasm side 2025-02-13 15:54:04 +01:00
Hunter200165
c04024506b Fixed infinite recursion in ASNFetchOID in fpasn.pp 2025-02-13 01:48:32 +00:00
florian
490c431bf9 * make use of not_zero in tbasecgarm.a_bit_scan_reg_reg 2025-02-12 23:02:03 +01:00
Pierre Muller
1a07e13c02 Disable high(taitype)<=31 check for LLVM compiler 2025-02-12 02:05:08 +01:00
florian
29b3b09251 * allow absolutes on open arrays (use of this is doubtful though), resolves #41147 2025-02-11 22:45:56 +01:00
Michaël Van Canneyt
637fa74c5c * API to share JOB objects between threads (if browser allows) 2025-02-11 10:41:04 +01:00
florian
99b71eafda * simplified code 2025-02-10 22:29:18 +01:00
Rika Ichinose
840df7e243 Disable MemPos on JVM. 2025-02-10 19:22:41 +00:00
Rika Ichinose
c3f80014b4 Remove FDestroyCount. 2025-02-10 18:53:26 +00:00
Rika Ichinose
d1ba97d462 Make use of not_zero in x86 bitscans. 2025-02-09 21:01:43 +00:00
Nikolay Nikolov
55aa5ac129 * WebAssembly: micro optimization in the invoke helper - omit the last 'return' instruction 2025-02-09 20:12:57 +02:00
Nikolay Nikolov
8790c4303a * WebAssembly: impose a limit on the br_table instruction length, when generating the invoke helper 2025-02-09 18:36:42 +02:00
Nikolay Nikolov
f3ded5e82e * WebAssembly: optimized the number of nested blocks inside the invoke helper 2025-02-09 17:57:42 +02:00
florian
7b67378206 + test for last commit 2025-02-09 16:35:42 +01:00
Rika Ichinose
1e041077cc Interface unref should zero the pointer first. 2025-02-09 15:25:33 +00:00
Rika Ichinose
98a5072fbe Remove NewAnsiString & NewUnicodeString. 2025-02-09 14:27:09 +00:00
florian
1802a8c493 + apply OptPass1Data to variable shifting/rotating operations as well 2025-02-09 15:23:24 +01:00
florian
ec76f13bd7 * node_not_zero can be apply to int->int conversion only if no data is cut off 2025-02-09 15:22:44 +01:00
florian
6cd75b75c3 * apply OptPass1Data to UDIV/SDIV as well 2025-02-09 10:41:39 +01:00
florian
09be204011 + extend node_not_zero to take range types into account
+ aarch64: if no FPC_DIVBYZERO call is needed, div nodes do not generate calls
2025-02-09 10:26:10 +01:00
florian
bcaa58db01 * extend node_not_zero and make more use of it 2025-02-09 09:42:52 +01:00
Rika Ichinose
f7f8c9a615 Publish System.MemPos. 2025-02-09 03:40:40 +03:00
florian
9cb6497fae + function node_not_zero and make use of it 2025-02-08 20:07:20 +01:00
Michaël Van Canneyt
92b3e6a7d7 * Correct string definition. Fixes issue #41135 2025-02-08 18:15:43 +01:00
Michaël Van Canneyt
ac98583fb4 * Correctly write labels. Patch by Simone Tacconi. Fixes issue #41133 2025-02-08 17:51:01 +01:00
Michaël Van Canneyt
b3d555c258 * Patch from Lipinast Lekrisov to get/set record-typed values. Fixes issue #41129 2025-02-08 17:24:11 +01:00
florian
b2f6214b33 + a_bit_scan_reg_reg gets a flag if src cannot be zero: this simplifies the generated code 2025-02-08 14:27:48 +01:00
Michaël Van Canneyt
b5254fbeb4 * TDirectory.GetDirectories should actually only return directories. Patch by Artem Izmaylov. Fixes issue #41137 2025-02-08 13:30:21 +01:00
Michaël Van Canneyt
10e6a54b59 * Call correct newinstance when overridden. Fixes issue #41090 2025-02-08 12:59:47 +01:00
Rika Ichinose
66d7408b3d Faster Pos(ansistring). 2025-02-08 11:04:22 +00:00
Rika Ichinose
6631f83ccf Change CompareChar uses inside compiler/RTL to CompareByte. 2025-02-07 20:51:50 +03:00
Michaël Van Canneyt
0b3d059458 * Allow host environmentto get main and self thread IDs. Needed for inter-thread messaging in browser 2025-02-07 16:42:44 +01:00
Michaël Van Canneyt
44282acecb * Allow to process .fmx files just as .lfm/.dfm files 2025-02-07 16:12:05 +01:00
Michaël Van Canneyt
b935cc7f93 * Correct typo. Fixes issue #41141 2025-02-07 14:39:05 +01:00
Rika Ichinose
814370b894 Fix NaturalCompareText for string = unicodestring. 2025-02-07 07:02:43 +03:00
Michaël Van Canneyt
1cfa628320 * Test from merge request !312 2025-02-06 22:00:55 +01:00
Rika Ichinose
acaa4660fb Improve NaturalCompareText behaviour as a comparer.
This version probably can’t return garbage or intransitive results.
2025-02-06 21:38:45 +03:00
mattias
d0b4e8730a pastojs: fixed refcount for-Intf-in-something-do, issue #39293 2025-02-05 16:51:46 +01:00
mattias
4d8c9c9d78 pastojs: convert exit(ComIntf) to setting Result variable, issue #39292 2025-02-05 12:46:01 +01:00
mattias
7f4df82e7a pas2js: make typeinfo(char) a tTypeInfoInteger descendant 2025-02-04 18:46:21 +01:00
Michaël Van Canneyt
f270543bf4 * Assign result in async 2025-02-04 17:57:23 +01:00
florian
125da5f10a * SubLea2Lea has to check both times for equal super registers, resolves the second part of #41126 2025-02-03 22:19:25 +01:00
mattias
83f9a94503 fcl-passrc: fixed generic templates as string 2025-02-03 14:06:10 +01:00
mattias
3b5482b580 fcl-passrc: clean up 2025-02-03 14:05:51 +01:00