Commit Graph

54703 Commits

Author SHA1 Message Date
Jonas Maebe
0cd85d73e4 * ttryfinallynode now inherits from tbinarynode instead of tloopnode, as its
t1 field was always set to tnothingnode

git-svn-id: trunk@40142 -
2018-11-01 13:19:33 +00:00
Mattias Gaertner
cc44f64920 pastojs: fixed for e in set do
git-svn-id: trunk@40140 -
2018-11-01 12:43:39 +00:00
Mattias Gaertner
db4f11201a nodepas2js: exception handling with stacktrace
git-svn-id: trunk@40139 -
2018-11-01 12:42:40 +00:00
Mattias Gaertner
32907ada6d pastojs: fixed searching paths without trailing pathdelim
git-svn-id: trunk@40138 -
2018-11-01 12:42:05 +00:00
Mattias Gaertner
42c2859ce4 fcl-passrc: fixed hashlist for pas2js
git-svn-id: trunk@40137 -
2018-11-01 12:41:04 +00:00
Mattias Gaertner
46b1838d60 fcl-json: fixed hashlist for pas2js
git-svn-id: trunk@40136 -
2018-11-01 12:40:46 +00:00
Mattias Gaertner
b5e7566e55 fcl-js: fixed hashlist for pas2js
git-svn-id: trunk@40135 -
2018-11-01 12:40:25 +00:00
Mattias Gaertner
72bab28659 pastojs: fixed local record and enum types
git-svn-id: trunk@40133 -
2018-11-01 10:02:18 +00:00
pierre
3b49fda0a2 Only call moved if len>0, as otherwise astring local variable is nil, which leads to a range check error for astring[1]
git-svn-id: trunk@40132 -
2018-11-01 07:09:47 +00:00
pierre
96460b70b2 Remove another wrong typecast when testing that a tai is an instruction
git-svn-id: trunk@40131 -
2018-11-01 07:01:02 +00:00
Mattias Gaertner
a34b1f36e0 pastojs: fixed parsing if-then-raise-else
git-svn-id: trunk@40129 -
2018-11-01 00:19:39 +00:00
Mattias Gaertner
057534ef47 pastojs: fixed initializing static array of record
git-svn-id: trunk@40127 -
2018-10-31 23:40:45 +00:00
Mattias Gaertner
4d69aebf18 pastojs: nodejs js exception handling
git-svn-id: trunk@40126 -
2018-10-31 23:40:14 +00:00
Mattias Gaertner
5f43eb5baa fcl-passrc: fixed TPasResHashList arbitrary values
git-svn-id: trunk@40125 -
2018-10-31 23:37:55 +00:00
pierre
9c90f593ab Add global range check disable for i8086 cgcpu and x86 nx86add units
git-svn-id: trunk@40124 -
2018-10-31 23:20:29 +00:00
pierre
a015c779ff Remove unneeded typecasts in TryTOptimizeMove
git-svn-id: trunk@40123 -
2018-10-31 23:19:39 +00:00
pierre
fbffd2a38f Fix typecast in FindRegDeAlloc call
git-svn-id: trunk@40122 -
2018-10-31 23:18:09 +00:00
pierre
bb219cd05a Add check about tloadnode.symtableentry type before typecast
git-svn-id: trunk@40121 -
2018-10-31 23:16:51 +00:00
pierre
0abc978cc4 Change RemoveCurrentP parameter type to tai, because GetNextInstruction does not always return a taicpu, adapt code in avr/aoptcpu unit
git-svn-id: trunk@40120 -
2018-10-31 23:15:22 +00:00
Mattias Gaertner
ff431f0106 pastojs: fixed calling destructor after exception in constructor
git-svn-id: trunk@40116 -
2018-10-31 23:02:01 +00:00
pierre
9c2ac7b3dd Avoid range check error in ReadPosInfo
git-svn-id: trunk@40115 -
2018-10-31 22:53:11 +00:00
pierre
bf3bedb2d4 Add explicit rtlclean/rtl targets in fullcycle rule if DOWPOCYCLE is set
git-svn-id: trunk@40114 -
2018-10-31 15:50:26 +00:00
pierre
ae0c180e0b Avoid overflow in code
git-svn-id: trunk@40113 -
2018-10-31 15:49:14 +00:00
pierre
e42ccccecf Disable range check completely in arm/cgcpu unit
git-svn-id: trunk@40112 -
2018-10-31 15:48:32 +00:00
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