Commit Graph

3685 Commits

Author SHA1 Message Date
Jonas Maebe
8112592c45 * never generate any "shll/shrl $0,%reg" anymore 2001-12-04 15:57:28 +00:00
peter
e45bb82d81 * freemem change to value parameter
* torddef low/high range changed to int64
2001-12-03 21:48:41 +00:00
Jonas Maebe
4490bc91f7 * fixed web bug #1693 (dynarray support for length) 2001-12-03 14:21:34 +00:00
Jonas Maebe
c8ce1c2584 * forgot to commit yesterday :( (less unnecessary loading of regvars with
if-statements)
2001-12-03 12:17:02 +00:00
peter
74f6abf381 * merged register fixes 2001-12-02 17:20:58 +00:00
Jonas Maebe
6dbf240bde * less unnecessary regvar loading with if-statements 2001-12-02 16:19:17 +00:00
Jonas Maebe
fe8b328091 * added missing allocregbetween() call for a memtoreg() optimization 2001-11-30 16:35:02 +00:00
Jonas Maebe
879d8ccb44 * fixed web bug #1707:
* tvarsym.getvaluesize doesn't return 0 anymore for dynarrays (found
       by Florian)
     * in genrtti, some more ppointer(data)^ tricks were necessary
2001-11-30 16:25:35 +00:00
Jonas Maebe
c980b07df9 * tarraydef.size returns target_info.size_of_pointer instead of 4 for
dynamic arrays
2001-11-30 15:01:51 +00:00
carl
dab4b43521 * ppc386.cfg -> fpc.cfg 2001-11-24 14:32:55 +00:00
carl
41c3b07113 * Renamed ppc.cfg -> fpc.cfg 2001-11-24 02:05:21 +00:00
carl
f113d708d8 + ppc.cfg is now configuration file for compiler.
(first tries loading ppc386.cfg for backward compatibility)
2001-11-23 02:48:46 +00:00
peter
f20cbc5edf * require overload for cross object overloading 2001-11-20 18:49:43 +00:00
peter
b6feb119e6 * fixed initialized variables 2001-11-20 18:48:26 +00:00
Jonas Maebe
a3455b27a4 * upper constant limits for "for" loops are now also converted to the
type of the counter var ('merged')
2001-11-19 14:21:30 +00:00
peter
2dc60c9fed * use cp_value_equal_const instead of cp_all 2001-11-18 20:18:54 +00:00
peter
e94751b801 * changed aktprocsym to aktprocdef for stabs generation 2001-11-18 18:59:59 +00:00
peter
faf78ea813 * overloading supported in child classes
* fixed parsing of classes with private and virtual and overloaded
    so it is compatible with delphi
2001-11-18 18:43:13 +00:00
florian
889ca6ea25 * publishing of qword, int64 and widechar properties is now possible 2001-11-18 18:27:57 +00:00
florian
cee59f5e0d * handling of ansi- and widestring results improved 2001-11-18 00:00:34 +00:00
Tomas Hajny
09c8fc2184 * Target_Mode corrected back to OS_Mode 2001-11-15 20:48:43 +00:00
florian
9f9c1700b0 * variant paramter passing and functions results fixed 2001-11-14 01:12:44 +00:00
Jonas Maebe
816cfa08b3 * allow recursive calls again in assembler procedure 2001-11-09 10:06:56 +00:00
marco
816e803dc3 * Fix from Peter. Fixes a hang when ptop's upperstr procedure is converted
to ansistrings
2001-11-08 21:55:36 +00:00
Jonas Maebe
c9f75e434f * only save/restore nf_forcevaria flag when reversing order of
arrayconstructor elements, since the other flags are element specific
2001-11-07 13:52:52 +00:00
Jonas Maebe
60dc4bf0a9 * moved call to "cleanup_regvars" to cga.pas for i386 because it has
to insert "fstp %st0" instructions after the exit label
2001-11-06 16:39:02 +00:00
Jonas Maebe
c5bd8e67ee * compiles again with -dmemdebug 2001-11-06 14:53:48 +00:00
Jonas Maebe
4d0eae9a7c * constant regvars (addresses of var/out para's and const para's) aren't
saved to memory anymore when their register will be destroyed
  * unit has been made mostly processor independent
2001-11-05 16:49:32 +00:00
Jonas Maebe
9b628f6409 * reduced memory usage by about 10% and increased speed by about 15% 2001-11-05 14:16:25 +00:00
peter
a059a1671d * fixed crash with inlining after aktprocdef change 2001-11-02 23:24:40 +00:00
Jonas Maebe
a87a30b831 * fixed web bug #1665 (allow char to chararray type conversion) ("merged") 2001-11-02 23:24:11 +00:00
peter
887f6ba34c * removed obsolete chainprocsym and test_procsym code 2001-11-02 23:16:50 +00:00
peter
d2e1952377 * procsym definition rewrite 2001-11-02 22:58:00 +00:00
Jonas Maebe
0660d20448 * fixed web bug #1651 2001-10-31 17:34:20 +00:00
Jonas Maebe
d117d71141 * typed constants that are "procedure of object" and which are assigned
nil require 8 bytes of "0" (not 4)
  * fixed web bug #1655 (reject the code)
2001-10-29 14:59:48 +00:00
peter
ac400051bd * allow assignment of overloaded procedures to procvars when we know
which procedure to take
2001-10-28 17:22:25 +00:00
Jonas Maebe
00a1625ce3 + second_int_to_real for cardinal, int64 and qword 2001-10-28 14:17:10 +00:00
Jonas Maebe
2d3126c843 * small fixes 2001-10-28 14:16:49 +00:00
Jonas Maebe
e02d95ed13 + replace mem accesses to locations to which a reg was stored recently with that reg 2001-10-27 10:20:43 +00:00
florian
b0e3e03f08 * fixed ranges in case statements with widechars 2001-10-26 22:36:42 +00:00
peter
e37dbf904d * calling convention rewrite 2001-10-25 21:22:32 +00:00
Jonas Maebe
241f775056 * fixed web bug #1621 (write(typed_file,function_call) works again)
* allow write(typed_file,procvar_call) too (it was already allowed for
    text file writes)
2001-10-24 16:17:36 +00:00
marco
7215d46735 * Make new/dispose system functions instead of keywords 2001-10-24 11:51:39 +00:00
marco
3c1f350827 * Opt Align fix. 2001-10-24 11:46:06 +00:00
marco
82465bc078 * Don't parse proc directives after type renaming of procvars 2001-10-24 10:26:53 +00:00
peter
17d62feebe * $calling directive and -Cc commandline patch added
from Pavel Ozerski
2001-10-23 21:49:42 +00:00
peter
87f83123d3 * allow enum(enum) 2001-10-22 21:21:09 +00:00
peter
09cd7f1642 * overloaded functions don't need to be global in kylix 2001-10-22 21:20:46 +00:00
peter
19e7ae8851 * fixed previous commit 2001-10-22 20:25:49 +00:00
peter
5f98096685 * give error with string constants longer than 255 chars, this is
compatible with kylix
2001-10-22 19:55:44 +00:00