Commit Graph

6535 Commits

Author SHA1 Message Date
peter
1bcda5c022 * first load para's to temps before calling entry code (profile 2004-05-28 21:14:13 +00:00
peter
71280bedad * fix cardinal+constint 2004-05-28 21:13:44 +00:00
peter
52cf8d1cc2 * prefer signed constants over unsigned 2004-05-28 21:13:23 +00:00
peter
829ec81267 * fix wrong regalloc comments 2004-05-28 21:13:08 +00:00
peter
09098e8dba * fix writing of // header 2004-05-27 18:53:43 +00:00
florian
ab2b7b3889 * fixed another formal const problem caused by yesterday's changes 2004-05-25 21:27:35 +00:00
peter
330a86b7d6 * fix tcallnode.getcopy. the parameters need to be copied after
methodpointerinit is copied
2004-05-25 18:51:49 +00:00
peter
5abb93e77d * range check error 2004-05-25 18:51:14 +00:00
peter
a1b8d8bf6b * check for 2gb limit when inserting record fields 2004-05-25 18:50:50 +00:00
florian
ab316ac66f * properties are allowed as formal const parameters as well 2004-05-24 21:24:40 +00:00
florian
76782a514a * fixed more formal const problems 2004-05-24 21:04:31 +00:00
florian
c809441611 * stricter handling of formal const parameters and IE fixed 2004-05-24 20:39:41 +00:00
peter
eca9713796 * fix passing of array to open array of array (bug 3113) 2004-05-24 17:31:51 +00:00
peter
365d6252cc * also check local typed const 2004-05-24 17:31:12 +00:00
peter
7fc9369945 * allow setting of name in dictionary always. Otherwise it is never
possible to create an item with a name and rename before insert
    this is used in the symtable to hide the current symbol
2004-05-24 17:30:09 +00:00
peter
d9e0521b8d * use UNIXHier 2004-05-24 16:31:36 +00:00
peter
74e8ba82da * removed unused voidprocdef 2004-05-23 20:57:10 +00:00
peter
a3c4abf4a7 * initialize errorsym/errortype.def.owner to prevent crashes 2004-05-23 20:56:42 +00:00
peter
6245066670 * don't generate incompatible types when there is an errordef 2004-05-23 20:56:14 +00:00
peter
fed62c2f70 * Patch from Christian Iversen to support sizeof() in preprocessor 2004-05-23 20:55:38 +00:00
peter
6bac8ebcfd * fixed 3114 2004-05-23 20:54:39 +00:00
peter
5e2a95d4fe * expect : after function when it is a forwarddef 2004-05-23 19:06:26 +00:00
peter
b86f2c6a25 * methodpointer is loaded into a temp when it was a calln 2004-05-23 18:28:40 +00:00
peter
423fde7ac6 * regenerated 2004-05-23 18:25:48 +00:00
peter
331cdcf3be * checkmem remvoed 2004-05-23 16:46:39 +00:00
peter
c96ba04d84 * fixed qword(longint) that removed sign from the number
* removed code in the compiler that relied on wrong qword(longint)
    code generation
2004-05-23 15:23:30 +00:00
peter
72365ec95b * implicit_finally flag must be set in pass1
* add check whether the implicit frame is generated when expected
2004-05-23 15:06:20 +00:00
peter
c47ada7002 * generate better code for ansistring initialization 2004-05-23 15:04:49 +00:00
peter
f2306a7ded * remvoe writeln 2004-05-23 15:04:13 +00:00
peter
a9df763770 * some typeconvs don't allow assignment or passing to var para 2004-05-23 15:03:40 +00:00
peter
b6e86be8de * tprocinfoflag moved to globtype 2004-05-23 14:32:17 +00:00
peter
0ce74fb1bc * count fixes for tlinkedlist 2004-05-23 14:31:31 +00:00
peter
d2bed9e608 * ignore marker block when checking for empty list 2004-05-23 14:31:05 +00:00
florian
d6b865167c + added set of widechar support (limited to 256 chars, is delphi compatible) 2004-05-23 14:14:18 +00:00
peter
7dd6b85e01 * fix shl/shr with value > 63 2004-05-23 14:10:17 +00:00
peter
324144db92 * only convert widechar to widestring when both operands are
constant
  * support widechar-widechar operations in orddef part
2004-05-23 14:08:39 +00:00
peter
9a0a2ccd81 * give error when goto jumps to label outside current proc scope 2004-05-23 11:39:37 +00:00
peter
5358278ca1 tai_regalloc.allocation changed to ratype to notify rgobj of register size changes 2004-05-22 23:34:27 +00:00
peter
fac96dd2ed fix range check error when array size > maxlongint 2004-05-22 23:33:18 +00:00
peter
b151676e8a quote all low ascii chars in stabs 2004-05-22 23:32:52 +00:00
peter
3c8d4c8f11 * set correct n_line type when starting new .o file by passing
the current section type
2004-05-21 22:43:36 +00:00
florian
35f9b5a3ee * fixed <ordinal>+<pointer> 2004-05-21 13:08:14 +00:00
florian
b5bf8cefad + <pointer> - <pointer> result is divided by the pointer element size now
this is delphi compatible as well as resulting in the expected result for p1+(p2-p1)
2004-05-20 21:54:33 +00:00
peter
6fc2ea345d * extra typecast to prevent range check 2004-05-19 23:30:18 +00:00
peter
06448271ff * $message directive compatible with delphi 2004-05-19 23:29:56 +00:00
peter
c25228226d * don't change sign for unsigned shl/shr operations
* cleanup for u32bit
2004-05-19 23:29:25 +00:00
Jonas Maebe
7f889b8529 * fixed web bug #3103: the fpu conversion code couldn't deal with offsets
outside the smallint range
2004-05-19 22:26:46 +00:00
Jonas Maebe
844faab90a * fixed web bug #3104: if stack checking is on, procedures pi_do_call
must be set
2004-05-19 22:25:56 +00:00
peter
c553f6b320 * add DEBUGINFO symbol to reference the .o file that includes the
stabs info for types and global/static variables
  * debuginfo flag added to ppu to indicate whether debuginfo is
    generated or not
2004-05-19 21:16:12 +00:00
Tomas Hajny
f9141c8d5e * fix for IE 2004-05-16 20:41:19 +00:00