Commit Graph

59243 Commits

Author SHA1 Message Date
yury
afc568cf93 * Fixed the jvm target after r45436.
git-svn-id: trunk@45437 -
2020-05-19 14:01:19 +00:00
yury
2808873d1b * Reworked the optimization of unused $parentfp for nested routines.
- Do not remove the $parentfp parameter as was done in the previous optimization approach. Instead when $parentfp is unused to the following:
      - On the caller side: Omit passing the value for $parentfp for targets where tcgcallparanode.push_zero_sized_value_para=false (classic CPU targets). 
          Pass 0/nil as $parentfp for targets where tcgcallparanode.push_zero_sized_value_para=true;
      - On the callee side: Prevent allocation of registers/resources for $parentfp.
  - When possible keep $parentfp in a register.
  - Set the pio_nested_access flag in tprocinfo.set_needs_parentfp() to properly handle deep nesting levels;

git-svn-id: trunk@45436 -
2020-05-19 13:17:47 +00:00
Mattias Gaertner
a501be1b2b pas2js: async procedure modifier
git-svn-id: trunk@45435 -
2020-05-19 12:44:11 +00:00
Mattias Gaertner
d9734aa533 fcl-passrc: fixed parsing case statement without semicolon before else, added comments
git-svn-id: trunk@45434 -
2020-05-19 12:43:44 +00:00
Mattias Gaertner
375cfbf25c undo
git-svn-id: trunk@45433 -
2020-05-19 12:43:30 +00:00
Mattias Gaertner
23e7ced100 fcl-passrc: fixed parsing case statement without semicolon before else, added comments
git-svn-id: trunk@45432 -
2020-05-19 12:42:25 +00:00
Mattias Gaertner
a2342c710e fcl-passrc: resolver: check procedure modifiers of proc body and declration, procedure modifier async
git-svn-id: trunk@45431 -
2020-05-19 09:02:11 +00:00
florian
9b54588d75 + PXorPXor2PXor optimization
git-svn-id: trunk@45430 -
2020-05-18 21:28:45 +00:00
michael
c3e10be898 * Test case (currently failing) for else else in case statement
git-svn-id: trunk@45427 -
2020-05-18 18:18:52 +00:00
michael
9db7a9e8c9 * Fix include file, trim file
git-svn-id: trunk@45426 -
2020-05-18 17:30:38 +00:00
michael
ac208ab689 * clarify dubious case statements
git-svn-id: trunk@45425 -
2020-05-18 17:29:48 +00:00
Jonas Maebe
8d18c1792e * fixed {$unitpath xxx} directive with absolute paths
git-svn-id: trunk@45424 -
2020-05-18 17:20:13 +00:00
Mattias Gaertner
a7ecde8bb2 fcl-js: write async function and await expression
git-svn-id: trunk@45423 -
2020-05-18 15:49:31 +00:00
michael
8e8bbf4411 * Support generating API
git-svn-id: trunk@45422 -
2020-05-18 15:08:49 +00:00
michael
feb861e73a * Patch from Fabio Girardi to support ifNoneChanged header using enumerated
git-svn-id: trunk@45421 -
2020-05-18 15:07:13 +00:00
michael
2639e8af7e * Fix warning about visibility change
git-svn-id: trunk@45420 -
2020-05-18 15:06:13 +00:00
michael
45d08916f2 * test for method aliases (function)
git-svn-id: trunk@45419 -
2020-05-18 13:12:29 +00:00
michael
7649e205aa * test for method aliases
git-svn-id: trunk@45418 -
2020-05-18 12:59:05 +00:00
Mattias Gaertner
f74eb4692f pas2js: safecall for procedure
git-svn-id: trunk@45417 -
2020-05-18 11:00:06 +00:00
Mattias Gaertner
fef402f6e6 pas2js: safecall for procedure
git-svn-id: trunk@45416 -
2020-05-18 10:46:54 +00:00
michael
ce6789bdbf * Add OnComment
git-svn-id: trunk@45415 -
2020-05-18 08:28:14 +00:00
michael
0fd06ded8d * Reverse onUncaughtException result
git-svn-id: trunk@45414 -
2020-05-18 07:40:09 +00:00
nickysn
edcc14a5ce * Z80: JR can be both conditional and uncoditional jump, just like JP
git-svn-id: trunk@45411 -
2020-05-17 23:38:23 +00:00
Jonas Maebe
a88eee4080 * fixed unitdir directive for relative paths in case the current module's
path is not set, broken by r43312 (mantis #37095)

git-svn-id: trunk@45410 -
2020-05-17 21:27:00 +00:00
svenbarth
6b548b9016 * fix for Mantis #37042: apply patch and test (adjusted for Big Endian) by Bi0T1N to add support for TBitConverter
git-svn-id: trunk@45409 -
2020-05-17 20:59:57 +00:00
marco
c5b1398bff * fix loading of index in ide. Needs to get second instead of first subitem's local property now.
+ some defensive programming in case fpdoc's buildindex gets cleaned up more.

git-svn-id: trunk@45406 -
2020-05-17 18:28:15 +00:00
florian
af0ba7be83 * when auto-inlining is used, do not require that inlining is explicitly turned on
git-svn-id: trunk@45405 -
2020-05-17 18:14:48 +00:00
florian
97efb03ae6 * call x86 addordinal for non short boolean evaluated boolean nodes
as this results in better code

git-svn-id: trunk@45404 -
2020-05-17 17:41:44 +00:00
florian
fcf2cd2bea * boolean or/and nodes might be swapped when they have no side effect, in case
of short boolean evaluation, firstcomplex is not called so this does not
    hurt short boolean evaluation

git-svn-id: trunk@45403 -
2020-05-17 17:41:43 +00:00
nickysn
13028db5a4 - z80: disable regvars, because they don't work
git-svn-id: trunk@45402 -
2020-05-17 14:38:57 +00:00
Jonas Maebe
f9672b53a2 - removed old float-to-string and string-to-float conversion code
git-svn-id: trunk@45401 -
2020-05-17 14:05:38 +00:00
marco
4c9fae1e35 * workaround that fixes project imports with html backend specific paths by ignoring it.
git-svn-id: trunk@45398 -
2020-05-17 12:02:44 +00:00
nickysn
b54d9cfecb * fixed IsJumpToLabelUncond for the Z80
git-svn-id: trunk@45397 -
2020-05-17 11:35:42 +00:00
michael
e928f402fc * Make name a little clearer in operator parsing
git-svn-id: trunk@45396 -
2020-05-17 07:55:36 +00:00
michael
6e0a8415df * Add switch to ignore unknown resources
git-svn-id: trunk@45395 -
2020-05-17 07:54:41 +00:00
michael
e70d86f1d8 * Trim param in mode statement (bug 37092)
git-svn-id: trunk@45394 -
2020-05-17 07:42:23 +00:00
michael
14a6768497 * Use unsigned for ip6 parts
git-svn-id: trunk@45393 -
2020-05-17 07:32:11 +00:00
Mattias Gaertner
9a954d384a pas2js: safecall calling convention for of-object proctypes
git-svn-id: trunk@45392 -
2020-05-16 20:51:23 +00:00
nickysn
63af4e173d + z80: handle all instructions in TCpuAsmOptimizer.RegLoadedWithNewValue
git-svn-id: trunk@45391 -
2020-05-16 20:33:44 +00:00
nickysn
5502d6cc58 + Z80: report the flags usage for all the remaining instructions in TCpuAsmOptimizer.RegLoadedWithNewValue
git-svn-id: trunk@45390 -
2020-05-16 19:58:37 +00:00
Károly Balogh
c38efe6d18 m68k: tabs to spaces and indentation fix, no functional change
git-svn-id: trunk@45389 -
2020-05-16 19:15:52 +00:00
florian
d9eddc50fd * fix spilling for PAND, POR and PXOR, resolves #37084
git-svn-id: trunk@45388 -
2020-05-16 15:51:48 +00:00
michael
03f2c69d0d * Fix range check errors
git-svn-id: trunk@45387 -
2020-05-16 15:00:00 +00:00
Károly Balogh
2c8db3bb9e m68k: add support for bitfield instructions as CPU capability
git-svn-id: trunk@45383 -
2020-05-16 13:47:18 +00:00
Jonas Maebe
435b45a13c * fix linkframework CoreImage directive (mantis #37040)
git-svn-id: trunk@45381 -
2020-05-16 13:31:36 +00:00
Jonas Maebe
1506926593 * made intialisation of FGeneralCriticalSection thread-safe
* fixed a (harmless) use of an uninitialised variable

git-svn-id: trunk@45380 -
2020-05-16 13:31:32 +00:00
Jonas Maebe
6f165b6c01 * fixed tests
o fixed use of loop counter after end of loop
   o fixed reliance on old behaviour for int -> real typecasts

git-svn-id: trunk@45379 -
2020-05-16 13:31:28 +00:00
michael
f432bd9307 * Patch from Noel Duffy to add TrySTrToHost* functions
git-svn-id: trunk@45376 -
2020-05-16 13:11:28 +00:00
marcus
5a9fc1c01c MorphOS: workaround to prevent removal of __abox__ during --gc-sections
git-svn-id: trunk@45375 -
2020-05-16 13:07:19 +00:00
michael
ce0c43c934 * Allow to hook uncaught exception handling
git-svn-id: trunk@45374 -
2020-05-16 11:52:24 +00:00