Commit Graph

57232 Commits

Author SHA1 Message Date
Mattias Gaertner
a832f3615b pastojs: typeinfo(GenTemplateType)
git-svn-id: trunk@43223 -
2019-10-18 16:06:34 +00:00
Mattias Gaertner
3f19cff02b pastojs: static method no this
git-svn-id: trunk@43222 -
2019-10-18 13:37:21 +00:00
Mattias Gaertner
48ab695bca fcl-passrc: fixed compile
git-svn-id: trunk@43221 -
2019-10-18 13:36:55 +00:00
Mattias Gaertner
8323a48e9c fcl-passrc: resolver: objfpc: canonical alias to spec record type
git-svn-id: trunk@43220 -
2019-10-18 10:37:39 +00:00
Mattias Gaertner
8221ff20c3 fcl-passrc: resolver: objfpc: canonical alias to spec classtype
git-svn-id: trunk@43219 -
2019-10-18 10:31:23 +00:00
florian
af8783e8d2 * i386: with a fixed stack, exception handling does not need a frame pointer
git-svn-id: trunk@43218 -
2019-10-17 20:55:39 +00:00
Mattias Gaertner
6f13582b11 pastojs: test generic class classproperty
git-svn-id: trunk@43216 -
2019-10-17 16:46:32 +00:00
Mattias Gaertner
8872deed26 pastojs: test generic methods
git-svn-id: trunk@43215 -
2019-10-17 16:24:59 +00:00
Mattias Gaertner
e28a2b0e21 pastojs: constructor New; external name globalfunc
git-svn-id: trunk@43214 -
2019-10-17 15:53:18 +00:00
Mattias Gaertner
8a10f0f4b9 pastojs: generic function: infer types
git-svn-id: trunk@43213 -
2019-10-17 15:00:36 +00:00
Mattias Gaertner
700fc43cdf fcl-passrc: finish stProcedure after adding it to the declarations
git-svn-id: trunk@43212 -
2019-10-17 15:00:18 +00:00
lacak
85799f1bf7 fcl-db: sdf: add virtual to ExtractDelimited(). Bug #36190
git-svn-id: trunk@43211 -
2019-10-17 12:59:25 +00:00
Mattias Gaertner
bb4402b2a4 pastojs: generic procedure overload
git-svn-id: trunk@43210 -
2019-10-16 16:24:11 +00:00
Mattias Gaertner
7fa2ac9420 fcl-passrc: useanalyzer: generic procedure
git-svn-id: trunk@43209 -
2019-10-16 16:23:51 +00:00
marco
fbab36ef0b * have showwindow parameter in runcommand
git-svn-id: trunk@43208 -
2019-10-16 15:17:39 +00:00
Mattias Gaertner
0d4c008b46 pastojs: typecast to inline specialize
git-svn-id: trunk@43207 -
2019-10-16 10:15:40 +00:00
Mattias Gaertner
b70c6cc344 fcl-passrc: resolver: started generic type overload
git-svn-id: trunk@43206 -
2019-10-16 10:15:32 +00:00
pierre
6f7a39adab Fix compilation for arm-darwin using clang and forbid use of eabihf ABI for that target
git-svn-id: trunk@43205 -
2019-10-15 22:17:52 +00:00
Mattias Gaertner
1127e3d27b fcl-passrc: resolver: objfpc refer to parent generic type without type params
git-svn-id: trunk@43204 -
2019-10-15 18:57:30 +00:00
pierre
84ebe96d41 Define FPC_IS_SYSTEM at start of all system.pp source
git-svn-id: trunk@43203 -
2019-10-15 15:04:32 +00:00
Mattias Gaertner
a261b86aca fcl-passrc: resolver: fixed marking implicit call in prop arg
git-svn-id: trunk@43202 -
2019-10-15 11:11:23 +00:00
Mattias Gaertner
8a3df44734 pastojs: comments
git-svn-id: trunk@43201 -
2019-10-15 10:01:24 +00:00
pierre
362e6232c3 Fix compilation for wince target after restriction of enum value to longint range
git-svn-id: trunk@43200 -
2019-10-15 08:03:39 +00:00
Mattias Gaertner
ad5d416ccc fcl-passrc: resolver: nested class: search parent
git-svn-id: trunk@43199 -
2019-10-14 23:21:33 +00:00
Mattias Gaertner
07bceca5ba fcl-passrc: resolver: nested class: search parent classes after sections
git-svn-id: trunk@43198 -
2019-10-14 22:56:54 +00:00
pierre
9d765af693 Fix parsing error in GNU linker script, KEEP needs braces
git-svn-id: trunk@43197 -
2019-10-14 16:04:02 +00:00
florian
88648248ec * fix random(<int64>) for 32 Bit CPUs
git-svn-id: trunk@43194 -
2019-10-13 20:23:01 +00:00
florian
e02321029f * test fixed for i386
git-svn-id: trunk@43193 -
2019-10-13 20:11:55 +00:00
florian
626ef4ae0c * give an error if an explicit enumeration valid exceeds the valid range, resolves #34633
git-svn-id: trunk@43191 -
2019-10-13 15:48:21 +00:00
florian
2d06d7ed46 * iterate only on the valid elements of the set to avoid compilation errors if the for loop is unrolled, resolves #36150
git-svn-id: trunk@43190 -
2019-10-13 15:17:46 +00:00
florian
6457846435 * sorted out tests
git-svn-id: trunk@43189 -
2019-10-13 11:42:33 +00:00
florian
b02470468b * handle off by one in FilePos due to the filled buffer in iso mode, resolves #40850
git-svn-id: trunk@43188 -
2019-10-13 11:37:37 +00:00
Jonas Maebe
33c4a5dda7 * don't try to bitpack arrays of non-ordinals (mantis #36157)
git-svn-id: trunk@43187 -
2019-10-13 11:11:28 +00:00
Jonas Maebe
51c6ebfe54 * work around broken x86 shifting in bitpacked value calculation
(mantis #36156)

git-svn-id: trunk@43186 -
2019-10-13 10:47:31 +00:00
Jonas Maebe
dadeff5b09 * fixed Darwin/i386 after r43176
git-svn-id: trunk@43185 -
2019-10-13 10:47:25 +00:00
florian
6e58178963 * do not write DW_AT_allocated and DW_AT_data_location tags for old style objects and cppobjects, resolves #36017
git-svn-id: trunk@43183 -
2019-10-13 10:06:48 +00:00
Jonas Maebe
3e11f1b2fe * fix length calculation of winlike widestrings in Dwarf 3 (patch by
Martin Friebe, mantis #35566)

git-svn-id: trunk@43182 -
2019-10-13 09:31:08 +00:00
Jonas Maebe
bdcda8660e * fix Dwarf 3 array location broken in r43171 (fix by Martin Friebe,
mantis #36144)

git-svn-id: trunk@43181 -
2019-10-13 07:37:42 +00:00
florian
5573bee314 + makefiles use -Sew, so added to the project as well
* updated for new format

git-svn-id: trunk@43179 -
2019-10-12 21:56:18 +00:00
florian
533a113885 + LeaCallLeaRet2Jmp optimization
git-svn-id: trunk@43178 -
2019-10-12 21:51:15 +00:00
florian
00c2fd4005 + x86: LeaLea2Lea optimization
git-svn-id: trunk@43177 -
2019-10-12 21:51:14 +00:00
florian
fb91899457 * adapted 16 byte alignment handling on linux: it is now assumed that the callee tries to clear the stack, so in the caller, the stack is re-adjusted
git-svn-id: trunk@43176 -
2019-10-12 21:51:13 +00:00
Jonas Maebe
67fc9a7853 * fixed peephole opitimizer removing some infinite loops (mantis #36139)
git-svn-id: trunk@43175 -
2019-10-12 21:39:48 +00:00
Jonas Maebe
6c29ecbd1c * moved array stride back to array entry (mantis #36144)
git-svn-id: trunk@43171 -
2019-10-12 12:25:07 +00:00
florian
5fc12500f2 * patch by Christo Crause: fix for r43136
git-svn-id: trunk@43169 -
2019-10-12 11:52:06 +00:00
Mattias Gaertner
76b5df1bd3 pas2js: fixed setlength(a,0)
git-svn-id: trunk@43168 -
2019-10-11 22:10:42 +00:00
florian
688c7d439f o AArch64:
* properly initialize FPU
    * FMOV cannot throw an FPU exception

git-svn-id: trunk@43167 -
2019-10-11 21:55:48 +00:00
Mattias Gaertner
8d60f4542c pastojs: constructor of external class: funcname and {}
git-svn-id: trunk@43166 -
2019-10-11 10:25:24 +00:00
pierre
1bed61195e Fix m68k errors with -CriotR option
git-svn-id: trunk@43165 -
2019-10-10 21:57:07 +00:00
Mattias Gaertner
450dd50e7b fcl-passrc: generic reference to proc type
git-svn-id: trunk@43164 -
2019-10-10 21:53:51 +00:00