Commit Graph

54479 Commits

Author SHA1 Message Date
pierre
04fd1a6397 Complement commit 40104, by changing type of executionweight in toptinfo record and adapt pass_2 code
git-svn-id: trunk@40111 -
2018-10-31 15:47:53 +00:00
pierre
e5dffebdc7 Avoid range check error in MaskLength evaluation
git-svn-id: trunk@40110 -
2018-10-31 14:51:23 +00:00
pierre
8f7707d474 Use correct field for sl_absolutetype or sl_typeconv ppropaccesslistitem type (revealed by compilation with -CriotR)
git-svn-id: trunk@40109 -
2018-10-31 14:43:18 +00:00
Mattias Gaertner
0e012e657f pastojs: fixed handling read error
git-svn-id: trunk@40108 -
2018-10-31 14:17:39 +00:00
Mattias Gaertner
1eb6ef4b27 pastojs: fixed %date% omitting []
git-svn-id: trunk@40107 -
2018-10-31 14:00:33 +00:00
Mattias Gaertner
c64ca00dfe pastojs: nodejs file functions
git-svn-id: trunk@40106 -
2018-10-31 13:59:33 +00:00
Mattias Gaertner
ba64c44486 pastojs: nodejs file functions
git-svn-id: trunk@40105 -
2018-10-31 13:56:29 +00:00
pierre
8cd55d4603 Use longint type instead of AWord for Initial parameter in CalcExecutionWeigths (to avoid range error for avr compiler)
git-svn-id: trunk@40104 -
2018-10-31 10:21:51 +00:00
pierre
7a07f848e8 Use pdword to avoid range check erro in tentryfile.getdword method
git-svn-id: trunk@40103 -
2018-10-31 09:59:45 +00:00
pierre
89ee644919 Replace aint (which is a compiler specific type) by ptruint type, which is defined in system unit
git-svn-id: trunk@40102 -
2018-10-31 09:07:57 +00:00
Mattias Gaertner
16b421d344 pastojs: added some nodejs file functions
git-svn-id: trunk@40101 -
2018-10-30 23:19:54 +00:00
Mattias Gaertner
299a177e20 fcl-passrc: clean up
git-svn-id: trunk@40100 -
2018-10-30 23:19:24 +00:00
Mattias Gaertner
7afd157d35 fcl-js: fixed compilation
git-svn-id: trunk@40099 -
2018-10-30 23:18:55 +00:00
Mattias Gaertner
bbb5943fef pas2js: started nodepas2js
git-svn-id: trunk@40098 -
2018-10-30 23:18:09 +00:00
marco
f8050815ea * pre shutdown constants + in general those series of constants refreshed
git-svn-id: trunk@40096 -
2018-10-30 09:03:46 +00:00
florian
cd209cea53 * fix test for windows
git-svn-id: trunk@40091 -
2018-10-29 19:16:14 +00:00
Mattias Gaertner
41bf6106c5 pastojs: clean up
git-svn-id: trunk@40085 -
2018-10-29 17:23:58 +00:00
Mattias Gaertner
e539a385e4 pastojs: fixed empty except on statement
git-svn-id: trunk@40084 -
2018-10-29 17:23:42 +00:00
Mattias Gaertner
8554623084 pastojs: untypedpointer:=typedpointer
git-svn-id: trunk@40083 -
2018-10-29 17:11:25 +00:00
Mattias Gaertner
cef507c665 fcl-passrc: untypedpointer:=typedpointer
git-svn-id: trunk@40082 -
2018-10-29 17:11:06 +00:00
Mattias Gaertner
ddc79efdd4 pastojs: implemented pred(char), succ(char)
git-svn-id: trunk@40081 -
2018-10-29 16:41:54 +00:00
Mattias Gaertner
3b6436ffe1 fcl-js: jswriter: write #$ff00..#$ffff as \u
git-svn-id: trunk@40080 -
2018-10-29 16:41:22 +00:00
Mattias Gaertner
a71dc667ce fcl-js: clean up
git-svn-id: trunk@40077 -
2018-10-29 16:00:01 +00:00
Mattias Gaertner
b5d1f1026f pasotjs: fixed parsing cfg
git-svn-id: trunk@40076 -
2018-10-29 15:46:50 +00:00
Mattias Gaertner
60eb591844 pastojs: fixed compilation
git-svn-id: trunk@40075 -
2018-10-29 10:16:58 +00:00
Mattias Gaertner
ee8215e2ed pastojs: adapted pas2jscompiler for pas2js
git-svn-id: trunk@40072 -
2018-10-28 18:30:48 +00:00
florian
18a45d94a3 * version update
git-svn-id: trunk@40068 -
2018-10-28 16:21:06 +00:00
Mattias Gaertner
f6b2b6d4e8 pastojs: clean up
git-svn-id: trunk@40067 -
2018-10-28 14:52:39 +00:00
Mattias Gaertner
01d1cde8a3 pastojs: adaptions for pas2js
git-svn-id: trunk@40064 -
2018-10-28 14:34:08 +00:00
michael
4bf4ce5537 * Use sqlite_open_v2 to connect, Bug ID #34278
git-svn-id: trunk@40063 -
2018-10-28 14:27:16 +00:00
Mattias Gaertner
d915932c29 pastojs: $i %date%, %time%, %line%
git-svn-id: trunk@40062 -
2018-10-28 14:08:41 +00:00
Mattias Gaertner
b6083f84a1 fcl-passrc: fixed handling $i %name%
git-svn-id: trunk@40061 -
2018-10-28 14:00:51 +00:00
michael
3b1622f10a * Add GetTypeKind
git-svn-id: trunk@40060 -
2018-10-28 10:47:57 +00:00
yury
bf4eda478d * SetExecutionWeight(): Set execution weight also for nodes with special handling. Minor code cleanup/improvements.
* Restore previous execution weight before exiting secondpass().
* It all improves register allocation for variables inside loops in some cases.

git-svn-id: trunk@40059 -
2018-10-27 18:13:33 +00:00
michael
8e0442fb1f * Fix 4-byte unicode characters
git-svn-id: trunk@40058 -
2018-10-27 17:16:13 +00:00
michael
645a528584 * Fix some warnings
git-svn-id: trunk@40057 -
2018-10-27 15:08:11 +00:00
michael
5240095a3e * Introduce overloaded version of ReplaceRegexpr which allows to set more options (see bug ID #34429).
git-svn-id: trunk@40056 -
2018-10-27 15:08:00 +00:00
michael
35d4a6449a * Fix bug ID #34451, introduce foSkipWhiteSpaceOnlyLeading
git-svn-id: trunk@40055 -
2018-10-27 14:47:45 +00:00
michael
68f74289e1 * Fix bug #34463, CMAP with 1 entry is ignored. Patch by Petr Kristan.
git-svn-id: trunk@40054 -
2018-10-27 14:36:57 +00:00
Mattias Gaertner
c8bc9202f7 pastojs: adapted pas2jsfilecache for pas2js
git-svn-id: trunk@40053 -
2018-10-27 14:15:53 +00:00
Mattias Gaertner
5a88c840d8 pastojs: allow calling Free inside method
git-svn-id: trunk@40051 -
2018-10-27 11:58:41 +00:00
yury
2b459b30d2 * Optimized generic implementations of tcg.a_op_const_ref() and tcg.a_op_reg_ref() for PIC and CPUs which need 2 or more instructions to load a symbol's value by reference.
First the symbol's address is taken and then it is used to load the value and also store the result. It eliminates extra calculation of the symbol's address needed to store the result.
  x86 and other CPUs which can handle refs ops directly or more efficiently already have overloaded versions of these methods and are not affected by this change.

git-svn-id: trunk@40050 -
2018-10-27 11:32:22 +00:00
Mattias Gaertner
a2c16728cc pastojs: adaptions for pas2js
git-svn-id: trunk@40049 -
2018-10-27 11:17:58 +00:00
Mattias Gaertner
43c2dce24f fcl-js: jssrcmap adapted for pas2js
git-svn-id: trunk@40048 -
2018-10-26 09:10:56 +00:00
Mattias Gaertner
06364845d6 pastojs: ExpandFileNamePJ for \\?\
git-svn-id: trunk@40047 -
2018-10-26 08:08:20 +00:00
Mattias Gaertner
70a21c91c1 pastojs: fixed compile under windows
git-svn-id: trunk@40046 -
2018-10-26 06:50:33 +00:00
Mattias Gaertner
75e6356e02 fcl-js: started jsonscanner adaption for pas2js
git-svn-id: trunk@40045 -
2018-10-25 20:16:56 +00:00
Mattias Gaertner
225aa064fe pastojs: adapted pas2jspparser for pas2js
git-svn-id: trunk@40044 -
2018-10-25 20:07:00 +00:00
Mattias Gaertner
d512e581e9 pastojs: fixed fileutils
git-svn-id: trunk@40043 -
2018-10-25 20:00:54 +00:00
Mattias Gaertner
60dab2f4fb pas2js: logger adapted for pas2js
git-svn-id: trunk@40042 -
2018-10-25 19:47:11 +00:00