florian
c6659d62f8
* do not join register deallocations/allocations as it makes no use and causes later on trouble in
...
the assembler optimizer as register allocations are not correct, resolves #33565
git-svn-id: trunk@43384 -
2019-11-03 17:13:59 +00:00
yury
a09c0a6857
* pas2jni: Exclude TExtended80Rec by default.
...
git-svn-id: trunk@43383 -
2019-11-03 16:00:41 +00:00
florian
b8f186dab2
* reverted r43366
...
git-svn-id: trunk@43382 -
2019-11-03 14:42:02 +00:00
yury
b988837d1b
* pas2jni: Skip var parameters of unsupported types.
...
git-svn-id: trunk@43381 -
2019-11-03 14:26:00 +00:00
yury
b4e0c72cbe
* pas2jni: Fixed more case statement warnings.
...
git-svn-id: trunk@43376 -
2019-11-03 13:22:14 +00:00
yury
843b1b0d49
* Fixed case statement warnings.
...
git-svn-id: trunk@43375 -
2019-11-03 13:13:52 +00:00
Jonas Maebe
62da49577d
* set default Mac OS X/OS X/macOS target version to 10.8 for i386 and x86-64,
...
instead of the previous 10.4 for i386 and 10.5 for x86-64. This prevents
issues with finding the crt.* files, as starting with 10.8 those files
are no longer required.
git-svn-id: trunk@43374 -
2019-11-02 22:44:15 +00:00
florian
20a47afe13
* more aggressive LeaCallLeaRet2Jmp
...
git-svn-id: trunk@43373 -
2019-11-02 22:37:31 +00:00
florian
1fc7667b3b
+ LeaCallLeaRet2Jmp
...
git-svn-id: trunk@43372 -
2019-11-02 22:37:30 +00:00
florian
6842c5784d
* CallRet2Jmp works with PIC
...
git-svn-id: trunk@43371 -
2019-11-02 22:37:29 +00:00
florian
3487c34ed9
* unified TX86AsmOptimizer.OptPass1MOVAP and TX86AsmOptimizer.OptPass1VMOVAP
...
git-svn-id: trunk@43370 -
2019-11-02 18:48:23 +00:00
florian
f9530437c2
* fix i386 building
...
git-svn-id: trunk@43369 -
2019-11-02 18:34:53 +00:00
florian
c3ef42b164
* allow cmov with memory reference if it is a pure symbol or a rip relative symbol: as the symbol is
...
allocated within the image of the program, this should never cause a seg. fault, so it is save
to use cmov with it
git-svn-id: trunk@43368 -
2019-11-02 18:09:11 +00:00
florian
5ead23513d
* more overloads for Math.Min/Max, resolves #36161
...
git-svn-id: trunk@43366 -
2019-11-02 16:21:43 +00:00
michael
faee789507
* Add some functional methods to TStrings
...
git-svn-id: trunk@43365 -
2019-11-02 15:08:27 +00:00
yury
4ade471488
* GetModuleByAddr: Prevent returning a name of the current executable for invalid addresses such as pointer(-1) on Windows.
...
git-svn-id: trunk@43364 -
2019-11-02 14:54:25 +00:00
michael
6f80223b64
* Fix bug ID #36248
...
git-svn-id: trunk@43363 -
2019-11-02 14:35:18 +00:00
michael
bd91c559ee
* Forgot to commit
...
git-svn-id: trunk@43362 -
2019-11-02 14:33:19 +00:00
marco
8bf9854dbe
* chmcmd enable widestring manager for Linux. Binaries are now libc dependent.
...
patch by C western, mantis #36247
git-svn-id: trunk@43361 -
2019-11-02 13:54:16 +00:00
michael
00e358f15a
* Fix bug #36244
...
git-svn-id: trunk@43360 -
2019-11-02 13:07:34 +00:00
svenbarth
ccb169b0f1
* correctly handle PE COMDAT sections: like for the Comdat groups in ELF files the unused symbols need to be converted to externals so that relocations are handled correctly
...
git-svn-id: trunk@43359 -
2019-11-02 12:36:30 +00:00
svenbarth
c6a08cdc6e
+ add a Flush method to TExeMap which is useful when debugging internal errors or crashes where the exemap instance has not yet been destroyed
...
git-svn-id: trunk@43358 -
2019-11-02 12:36:26 +00:00
michael
20ca7d857c
* Fix bug ID #36234 : unicodedatastering must be of type unicodestring
...
git-svn-id: trunk@43357 -
2019-11-02 11:51:28 +00:00
michael
c6f53adf89
* Explicitly use UTF8, fix bug ID #36231 : RTF export must write unicode chars escaped
...
git-svn-id: trunk@43356 -
2019-11-02 11:42:32 +00:00
michael
51b1f6a47c
* Fix case where table streams are nil
...
git-svn-id: trunk@43355 -
2019-11-02 11:17:37 +00:00
michael
078534472b
* Patch from Michal Gawrycki to handle duplicating strings (bug ID 36243)
...
git-svn-id: trunk@43354 -
2019-11-02 10:28:27 +00:00
michael
30bc217d55
* Fix bug ID #0036246 , delphi compatibility property
...
git-svn-id: trunk@43353 -
2019-11-02 10:25:42 +00:00
florian
ae04e5d7f0
* avr: apply LdiOp2Opi optimization also to and and sub
...
git-svn-id: trunk@43352 -
2019-11-01 18:39:18 +00:00
florian
828e961f3d
* remove unused constants
...
git-svn-id: trunk@43351 -
2019-11-01 18:39:17 +00:00
florian
701848889e
* avr: help the compiler with constant loading to avoid ie 200309041
...
git-svn-id: trunk@43350 -
2019-11-01 18:39:16 +00:00
florian
e8a48be3bc
* avr: more precise execution weigth for shift loops
...
git-svn-id: trunk@43349 -
2019-11-01 18:39:15 +00:00
florian
f61207f1cc
* avr directly encodes constant shifts of 64 bit values
...
git-svn-id: trunk@43348 -
2019-11-01 18:39:15 +00:00
florian
4e33889a29
* cleanup tshlshrnode.pass_1
...
git-svn-id: trunk@43347 -
2019-11-01 18:39:14 +00:00
svenbarth
fdeaacac21
* fix for Mantis #36223 : when parsing a helper type its extendeddef might be Nil
...
+ added test
git-svn-id: trunk@43346 -
2019-11-01 15:02:31 +00:00
svenbarth
f481587bee
* fix compilation on PE/COFF based systems with GNU AS as there the progbits are not supported
...
git-svn-id: trunk@43345 -
2019-11-01 13:27:29 +00:00
florian
e19eff1332
* also type casts to booleans benefit if unneeded type widenings are removed
...
git-svn-id: trunk@43344 -
2019-11-01 09:52:37 +00:00
florian
cb67577002
* fix length(<dyn. type>)=0 optimization, resolves #36215
...
git-svn-id: trunk@43343 -
2019-10-31 21:29:41 +00:00
florian
3b1903b430
* simplified fpc_mul_qword so it compiles again on avr, fixes #36236 but does not solve the root of the problem
...
git-svn-id: trunk@43342 -
2019-10-31 21:02:23 +00:00
marco
480da24d4d
* makefile fixes by Alfred, mantis #36237
...
git-svn-id: trunk@43341 -
2019-10-31 12:11:45 +00:00
florian
172a4a999b
+ MovMov2Mov 6 and MovMov2Mov 7 optimization
...
git-svn-id: trunk@43339 -
2019-10-30 22:39:13 +00:00
florian
2bcf1b7f59
* fptime works now usefully on unix systems
...
+ support -n <number> to run the command <number> times
+ display average runtime when -n is passed
git-svn-id: trunk@43338 -
2019-10-30 20:07:28 +00:00
florian
59d300fc6e
* optimize TAOptBase.SuperRegistersEqual
...
git-svn-id: trunk@43337 -
2019-10-30 20:07:27 +00:00
florian
cfec725195
* clean up TX86AsmOptimizer.OptPass1MOV
...
git-svn-id: trunk@43336 -
2019-10-30 20:07:26 +00:00
ondrej
13641eb1cf
fcl-image: canvas AllocateResources: propagate exceptions to be able to properly handle (e.g. log) them
...
git-svn-id: trunk@43335 -
2019-10-30 16:15:30 +00:00
ondrej
7c661e9d0d
fcl-image: do not load freetype DLL in initialization, it is loaded when needed in ftfont.pp InitEngine
...
git-svn-id: trunk@43334 -
2019-10-30 16:09:27 +00:00
Mattias Gaertner
c92340af39
pastojs: typeinfo forward external class
...
git-svn-id: trunk@43333 -
2019-10-30 12:16:31 +00:00
Mattias Gaertner
2b5c904b2d
pastojs: less hints
...
git-svn-id: trunk@43332 -
2019-10-30 11:59:07 +00:00
michael
3518f456a4
* Fix warning about unimplemented abstract method
...
git-svn-id: trunk@43331 -
2019-10-30 09:04:54 +00:00
michael
c35331dc57
* Fix TNoResources abstract methods
...
git-svn-id: trunk@43330 -
2019-10-30 08:57:48 +00:00
Mattias Gaertner
7a8c66d0b1
pastojs: fixed pcu canonical class-of
...
git-svn-id: trunk@43329 -
2019-10-29 18:29:57 +00:00