Mattias Gaertner
7a6fed75a0
fcl-passrc: $warn directive
...
git-svn-id: trunk@39315 -
2018-06-27 14:27:43 +00:00
Mattias Gaertner
7d95a993ca
pastojs: fixed debug code
...
git-svn-id: trunk@39314 -
2018-06-27 12:40:09 +00:00
Mattias Gaertner
6e807dfbc4
fcl-passrc: fixed mode delphi static array of char = string literal, started $warn directive
...
git-svn-id: trunk@39313 -
2018-06-27 12:39:28 +00:00
nickysn
966564aade
- removed 'if assigned(code)' before calling code.free in tcgprocinfo.destroy,
...
since .free already checks for <>nil
git-svn-id: trunk@39312 -
2018-06-27 12:38:58 +00:00
Mattias Gaertner
dfc5225671
pastojs: version 0.9.27
...
git-svn-id: trunk@39311 -
2018-06-26 11:33:34 +00:00
Mattias Gaertner
f791a20cab
pastojs: atypeinfo:=pointer
...
git-svn-id: trunk@39310 -
2018-06-26 10:59:26 +00:00
Mattias Gaertner
62c05140cf
fcl-passrc: resolver: pointer=class
...
git-svn-id: trunk@39309 -
2018-06-26 10:59:07 +00:00
Mattias Gaertner
9e3035383a
fcl-passrc: resolver: mode delphi: allow passing static array to openarray
...
git-svn-id: trunk@39308 -
2018-06-26 09:49:50 +00:00
florian
78943ea843
+ patch by J. Gareth Moreton: x86 optimisations for Jcc and SETcc, resolves #33899
...
* optimization also added for i386
git-svn-id: trunk@39307 -
2018-06-25 20:40:05 +00:00
florian
af37ca8563
- remove SetccMovbLeaveRet2SetccLeaveRet optimization, this type of code is not generated anymore for years
...
git-svn-id: trunk@39306 -
2018-06-25 20:40:04 +00:00
florian
1472a81768
* patch by J. Gareth Moreton to unify the x86 assembler optimizer method headers, resolves #33908
...
git-svn-id: trunk@39305 -
2018-06-25 20:13:34 +00:00
Mattias Gaertner
5228cada27
pas2js: set version 0.9.26
...
git-svn-id: trunk@39304 -
2018-06-25 18:21:04 +00:00
Mattias Gaertner
5c0a27a974
pastojs: external record field
...
git-svn-id: trunk@39303 -
2018-06-25 16:05:40 +00:00
Mattias Gaertner
936a26ed29
fcl-passrc: parser: external record field
...
git-svn-id: trunk@39302 -
2018-06-25 16:05:30 +00:00
Mattias Gaertner
2bc313fbe5
fcl-passrc: useanalyzer: new msg id for parameter of a virtual method not used
...
git-svn-id: trunk@39301 -
2018-06-25 14:02:47 +00:00
Mattias Gaertner
b2bd41d08e
pastojs: hint how to use -vl
...
git-svn-id: trunk@39300 -
2018-06-25 09:27:49 +00:00
Mattias Gaertner
2b12c34c0d
fcl-passrc: scanner: sleLineNumbers: show last parsed line of each file
...
git-svn-id: trunk@39299 -
2018-06-25 08:52:45 +00:00
florian
4aa0ad6735
* use vmov.xx to load float constants if possible
...
git-svn-id: trunk@39298 -
2018-06-24 12:40:00 +00:00
florian
4f5f3c4a09
+ support for vmov.xx vreg,#imm on arm
...
git-svn-id: trunk@39297 -
2018-06-24 12:39:59 +00:00
michael
ec7a3a023e
* Fix resourcestring settings
...
git-svn-id: trunk@39296 -
2018-06-23 17:03:43 +00:00
michael
6e8ec3449f
* Allow to set version, add copyright header
...
git-svn-id: trunk@39295 -
2018-06-23 16:32:59 +00:00
michael
609c2385d6
* Added copyright headers, make sure webbluetooth spec can be converted
...
git-svn-id: trunk@39294 -
2018-06-23 16:31:37 +00:00
michael
bfc5d63fde
* Add webidl2pas
...
git-svn-id: trunk@39293 -
2018-06-23 14:02:55 +00:00
michael
e655b9137b
* webidl added
...
git-svn-id: trunk@39292 -
2018-06-23 13:57:45 +00:00
michael
426c610f13
* Added pascodegen
...
git-svn-id: trunk@39291 -
2018-06-23 13:56:48 +00:00
michael
6abf361557
* New common base for all pascal code generator units in fcl
...
git-svn-id: trunk@39290 -
2018-06-23 13:56:38 +00:00
svenbarth
a2b58b842b
+ add support for threadvars in records
...
+ added tests
git-svn-id: trunk@39289 -
2018-06-23 13:49:16 +00:00
svenbarth
c3ca96279a
+ add support for threadvars inside classes
...
+ added tests
git-svn-id: trunk@39288 -
2018-06-23 13:49:12 +00:00
svenbarth
019ebe598a
* regenerate msg*.inc files after addition of the message about threadvars inside classes/records without
...
"class" specifier
git-svn-id: trunk@39287 -
2018-06-23 13:49:08 +00:00
svenbarth
0a45d7a774
+ add a message that is used when a threadvar section is started inside a class or record without the "class"
...
specifier
git-svn-id: trunk@39286 -
2018-06-23 13:49:05 +00:00
svenbarth
89f42fcdae
* handle vd_threadvar inside read_record_fields()
...
git-svn-id: trunk@39285 -
2018-06-23 13:49:01 +00:00
Mattias Gaertner
821182d518
pas2js: docs
...
git-svn-id: trunk@39284 -
2018-06-23 08:36:45 +00:00
Mattias Gaertner
db9d1aa547
pastojs: assignation using constant array, + operator arrays, clone static arrays, ref sets, adapted copy(), concat(), insert()
...
git-svn-id: trunk@39283 -
2018-06-23 08:25:56 +00:00
Mattias Gaertner
115e34eb51
fcl-passrc: resolver: assignation using constant array, + operator arrays, modeswitch arrayoperators, mode delphi: dyn arrays requires square bracket
...
git-svn-id: trunk@39282 -
2018-06-23 08:23:23 +00:00
Mattias Gaertner
7b96b931b3
fcl-passrc: modeswitch arrayoperators
...
git-svn-id: trunk@39281 -
2018-06-23 08:17:47 +00:00
svenbarth
ff407c56d9
* extend scanning of $modeswitch to support not only + and -, but also ON and OFF like other switches
...
+ added tests
git-svn-id: trunk@39280 -
2018-06-22 21:29:08 +00:00
nickysn
f036e67d8f
* fixed the reading of OMF groups by the internal linker. Previously, it only
...
worked, when the files had only one group, called 'DGROUP'.
git-svn-id: trunk@39279 -
2018-06-22 17:00:23 +00:00
nickysn
46b82e3208
+ added the necessary changes for section based smartlinking to the msdos
...
startup code, behind ifdef __I8086_SMARTLINK_SECTIONS__
git-svn-id: trunk@39278 -
2018-06-22 15:42:19 +00:00
nickysn
45337b67fe
+ when using the i8086 with section based smartlinking, create OMF section
...
groups, named 'CGROUP' or 'CGROUP_UNITNAME', which include all the code
sections, that need to be put in the same segment
git-svn-id: trunk@39277 -
2018-06-22 15:02:39 +00:00
nickysn
f07658d3dc
* get rid of TOmfRelocation.GetGroupIndex; instead, read the index property of
...
the group object. This adds support for groups, other than DGROUP, when
writing omf relocations.
git-svn-id: trunk@39276 -
2018-06-22 14:29:09 +00:00
nickysn
c8fc7c84c8
* avoid adding a section to a group twice in TOmfObjData.createsection
...
* add all sections, belonging to a group directly inside TOmfObjOutput.AddGroup,
based on the TObjSectionsGroup.members array
git-svn-id: trunk@39275 -
2018-06-21 21:14:54 +00:00
michael
dae7d20d69
* Fix bug #33880
...
git-svn-id: trunk@39274 -
2018-06-21 20:54:03 +00:00
nickysn
8a34bd22b8
* pass a TObjSectionGroup object as parameter to TOmfObjOutput.AddGroup, instead
...
of the group name
git-svn-id: trunk@39273 -
2018-06-21 20:45:52 +00:00
nickysn
d3db9e101a
* don't check for the presence of the group in TOmfObjOutput.AddSegmentToGroup,
...
because, it is no longer possible for it to not be present (all the groups
are added beforehand now)
git-svn-id: trunk@39272 -
2018-06-21 20:33:24 +00:00
nickysn
9a0eca52cb
* changed the type of TOmfObjSection.PrimaryGroup from string to
...
TObjSectionGroup, so instead of holding the group's name, it now points to the
TObjSectionGroup object, from which you can retrieve its name or any of the
other fields and properties it contains
git-svn-id: trunk@39271 -
2018-06-21 16:28:06 +00:00
nickysn
42f06acaeb
+ also create the primary section group and add the newly created section to it
...
in TOmfObjData.createsection
git-svn-id: trunk@39270 -
2018-06-21 16:14:42 +00:00
nickysn
f4e26f382f
+ added an 'index' field to TObjSectionGroup, specifying the index of the group
...
in the object file (similar to TObjSection.index, but for groups, instead of
sections). Set the new index field, when writing .obj files with the internal
omf object writer.
git-svn-id: trunk@39269 -
2018-06-21 15:51:58 +00:00
nickysn
ab47c8b899
+ introduce the omf_section_primary_group function. Use it instead of
...
section_belongs_to_dgroup, to allow sections to belong to groups, other than
dgroup.
git-svn-id: trunk@39268 -
2018-06-21 13:21:53 +00:00
pierre
ddf0aab494
Explicitly disabled overflow and range check
...
git-svn-id: trunk@39267 -
2018-06-21 04:56:32 +00:00
pierre
e518bd52ba
Explicitly disabled overflow and range check for these two tests
...
git-svn-id: trunk@39266 -
2018-06-21 04:52:37 +00:00