florian
53a4e6c513
* patch by Zoran Vučenović: fixes TDoubleRec.SetFrac, resolves #38202
...
+ test
git-svn-id: trunk@47765 -
2020-12-12 21:39:17 +00:00
florian
c82aae59a1
* call node_complexity correctly in order_parameters when sorting parameters
...
git-svn-id: trunk@47763 -
2020-12-11 22:14:18 +00:00
florian
0ab69ea0ad
+ m68k: LEA, MOVE(M) to MOVE(M) predecremented optimization and MOVE(M), LEA to MOVE(M) postincremented optimization
...
git-svn-id: trunk@47762 -
2020-12-11 22:14:17 +00:00
florian
a0a8a6911a
* m68k: proper values for first_*_reg
...
git-svn-id: trunk@47761 -
2020-12-11 22:14:16 +00:00
Mattias Gaertner
879bc83d7b
pastojs: fixed record member type
...
git-svn-id: trunk@47760 -
2020-12-11 20:04:02 +00:00
Mattias Gaertner
7e1cb64d5d
pastojs: fixed unit without implementation
...
git-svn-id: trunk@47759 -
2020-12-11 17:33:45 +00:00
Mattias Gaertner
508d4baa68
fcl-passrc: resolver: fixed unit without implementation
...
git-svn-id: trunk@47758 -
2020-12-11 17:32:51 +00:00
florian
f0298f63d0
* allow absolute variables with an address to be used as syscall base
...
git-svn-id: trunk@47757 -
2020-12-11 17:32:41 +00:00
yury
67284c7452
+ Added a test for proper setting of fc_no_direct_exit in flowcontrol.
...
git-svn-id: trunk@47755 -
2020-12-11 14:17:18 +00:00
michael
3db8f5c91f
* Fix compilation
...
git-svn-id: trunk@47754 -
2020-12-11 13:34:44 +00:00
pierre
0d592e8d1a
* Try to read command line exec name on linux, using argv[0], in order to be able
...
to use the symbolic link name instead of the real executable name.
This allows to use symbolic links to gppc386, named gppc1
to be able to launch ppc1 under gdb, as it is already possible
under OpenBSD (which returns the command line name via paramstr(0),
or under Windows if <SYMLINK> is used (generated by mklink).
+ Generate errors if compiler executable is not found, or if gdb binary
is not found.
git-svn-id: trunk@47753 -
2020-12-11 11:14:33 +00:00
michael
729c1dee8c
* Fix bug ID #38193 : order on darwin is same as openbsd
...
git-svn-id: trunk@47752 -
2020-12-11 09:14:25 +00:00
florian
817ef6949a
* m68k: MOVE, TST, Jxx/Sxx to MOVE, Jxx optimization
...
git-svn-id: trunk@47751 -
2020-12-10 21:51:26 +00:00
florian
bb8c3fd153
* made optimization JSR, RTS to JMP more bullet proof, added comment
...
git-svn-id: trunk@47750 -
2020-12-10 21:09:20 +00:00
yury
8b7c5666a2
* Renamed fc_block_with_exit to fc_no_direct_exit to expand its usage.
...
* Set fc_no_direct_exit in case when a routine has an additional implicit exit code, such as calling FreeInstance in the destructor.
git-svn-id: trunk@47749 -
2020-12-10 17:38:37 +00:00
ondrej
6eb37beb24
win32: SysErrorMessage: ignore inserts (when not used the messages with inserts are empty) and allocate message buffer
...
git-svn-id: trunk@47748 -
2020-12-10 17:04:12 +00:00
svenbarth
1efeb5851a
* fix regression introduced with r47625 for Mantis #38122 : when checking for a dereferentiation of the Self parameter subscript and vec nodes need to be kept
...
+ added test
git-svn-id: trunk@47747 -
2020-12-10 06:11:46 +00:00
Károly Balogh
2bd7877ec0
amiga: fixed the recently added link map generation to work properly. needs recent vlink to work
...
git-svn-id: trunk@47746 -
2020-12-10 04:56:26 +00:00
Károly Balogh
7f96a26de0
m68k: in g_concatcopy, check the actual alignment of references being copied rather than always excluding word and dword sized direct copies on a 68000
...
git-svn-id: trunk@47744 -
2020-12-10 04:17:06 +00:00
michael
7f2c8857da
* Endianness
...
git-svn-id: trunk@47743 -
2020-12-09 23:33:53 +00:00
Mattias Gaertner
07819e0115
pastojs: precompiled code: always store with unix line ending, write with platform line ending
...
git-svn-id: trunk@47742 -
2020-12-09 21:42:20 +00:00
Mattias Gaertner
2df2986a4b
fcl-js: added TTextWriter.LineBreak
...
git-svn-id: trunk@47741 -
2020-12-09 21:42:13 +00:00
florian
a849e51a3c
+ m68k: JSR, RTS to JMP optimization
...
git-svn-id: trunk@47740 -
2020-12-09 20:57:06 +00:00
Mattias Gaertner
5682783489
fcl-passrc: clean up
...
git-svn-id: trunk@47739 -
2020-12-09 20:51:20 +00:00
Mattias Gaertner
7540f10aa6
pastojs: shortrefglobals: enumvalue
...
git-svn-id: trunk@47738 -
2020-12-09 20:47:19 +00:00
pierre
a0e96fd551
Fix pos field closing in XML node output after commit 47720
...
git-svn-id: trunk@47737 -
2020-12-09 12:36:46 +00:00
michael
3a952d9346
* Fix from Pascal Riekenberg
...
git-svn-id: trunk@47736 -
2020-12-09 10:55:09 +00:00
michael
97341c24fb
* Actually allow multilinestrings
...
git-svn-id: trunk@47734 -
2020-12-09 09:12:21 +00:00
michael
9766bd6533
* Small fix, refactoring broke linefeed
...
git-svn-id: trunk@47733 -
2020-12-09 09:11:38 +00:00
michael
63a21876c8
* Fix compilation
...
git-svn-id: trunk@47732 -
2020-12-09 08:54:55 +00:00
michael
9e238f4724
* Multiline strings and INCLUDESTRING(FILE)
...
git-svn-id: trunk@47731 -
2020-12-09 01:09:21 +00:00
florian
3707cb4b1e
* handle min/max properly if it is applied to NaNs
...
* test extended
git-svn-id: trunk@47729 -
2020-12-08 20:41:58 +00:00
michael
8fd3beb35b
* Fix compilation
...
git-svn-id: trunk@47728 -
2020-12-08 20:35:41 +00:00
michael
b27054e170
* Parse Apple universal interfaces
...
git-svn-id: trunk@47724 -
2020-12-08 16:25:50 +00:00
Mattias Gaertner
2421d6ab15
fcl-passrc: useanalyzer: when member needs typeinfo, mark parent too
...
git-svn-id: trunk@47722 -
2020-12-08 11:52:47 +00:00
Mattias Gaertner
bc88571884
pastojs: clean up
...
git-svn-id: trunk@47721 -
2020-12-08 11:52:07 +00:00
pierre
348be7657d
Fix bug introduced in commit #47709 , by only calling node_complexity if first pass was already done (bug report 38183)
...
git-svn-id: trunk@47720 -
2020-12-08 11:28:50 +00:00
michael
9ac84262f6
* Last patch from Andrey Sobol to fix bug ID #38141
...
git-svn-id: trunk@47719 -
2020-12-08 09:49:44 +00:00
florian
674c3f04e0
+ added explanation for min/max intrinsics
...
* prepared x86 implementation for proper NaN handling
git-svn-id: trunk@47715 -
2020-12-07 21:31:07 +00:00
Mattias Gaertner
18919b774d
pastojs: fixed writing map file when OnWriteJS handler returns true
...
git-svn-id: trunk@47714 -
2020-12-07 18:49:54 +00:00
Mattias Gaertner
dbdd90a989
pastojs: on handled error set LastErrorClass empty
...
git-svn-id: trunk@47713 -
2020-12-07 17:06:58 +00:00
Mattias Gaertner
e25848ab32
pastojs: catch load file exceptions and turn into regular errors
...
git-svn-id: trunk@47712 -
2020-12-07 16:58:52 +00:00
pierre
44b325ec3e
* Initialize result out parameter by caling the constructor Init, not the method Reset.
...
This out parameter called 'result' is of type tcgpara, which is an object, but not a class,
it has no virtual method, which means that the VMT is never used, and thus the
fact that the object is not 'constructed' can be easily missed.
Nevertheless, it could generate problems as the different fields have unassigned
and thus random value, while reset method can dereference location field
if not nil.
Issue found by using -gttt compiler option.
git-svn-id: trunk@47711 -
2020-12-07 16:35:46 +00:00
michael
9fc390877e
* Partially resolved ID 38141 : better handling of class hierarchy and cross-package links
...
git-svn-id: trunk@47710 -
2020-12-07 11:55:51 +00:00
pierre
a7232669ff
* Adapted from patch node-dump-pass-1.patch submitted by J. Gareth Moreton from bug report 38156.
...
This patch extends the DEBUG_NODE_XML debug feature by also outputting,
to the *-node-dump.xml files, the node tree as it appears after the first pass,
since it often contains many more internal nodes like temporary allocations that may need
to be evaluated for debugging and development purposes, or node-level optimisation opportunities.
git-svn-id: trunk@47709 -
2020-12-07 07:28:04 +00:00
Mattias Gaertner
54627fe1e7
pastojs: filer: restore method decl SelfArg
...
git-svn-id: trunk@47706 -
2020-12-06 22:18:05 +00:00
Mattias Gaertner
bf5a2a46de
fcl-passrc: fixed calling type helper method when unit implementation is not yet read
...
git-svn-id: trunk@47705 -
2020-12-06 22:16:55 +00:00
florian
8d238cfaa1
* limit min/max optimization to fastmath for now, as the NaN handling is not working yet
...
git-svn-id: trunk@47704 -
2020-12-06 20:22:39 +00:00
marco
36eaa6c9ae
* tried to apply patch of mantis #38169 in a more minimal way and fixing some of the omissions.
...
git-svn-id: trunk@47703 -
2020-12-06 20:17:48 +00:00
florian
d49453edba
* quick fix for llvm compilation
...
git-svn-id: trunk@47702 -
2020-12-06 19:31:03 +00:00