Commit Graph

4728 Commits

Author SHA1 Message Date
peter
60b05c92de * fixed warning about unset funcret 2003-01-03 17:16:57 +00:00
peter
8b2dbde7c8 * fixed assignment operator checking for typecast 2003-01-03 17:16:04 +00:00
daniel
5041b70618 * Removed ifdefs around notifications
ifdefs around for loop optimizations remain
2003-01-03 12:15:55 +00:00
daniel
e53536b234 * Compiler now cycles with var_notification 2003-01-03 09:51:58 +00:00
peter
6a53a30525 * fixed previous operator change 2003-01-02 22:21:19 +00:00
peter
50862948e5 * fix typecasts from void to int 2003-01-02 22:20:51 +00:00
peter
a85f45752c * support pchar-char operations converting to string first
* support chararray-nil
2003-01-02 22:19:54 +00:00
peter
dfcb814ca5 * fix uninited var 2003-01-02 20:45:08 +00:00
peter
40bcae707d * fixed operator checking for objects
* made binary operator checking simpeler
2003-01-02 19:50:21 +00:00
peter
cf5d395f0a * update self parameter only for methodpointer and methods 2003-01-02 19:49:00 +00:00
peter
a51ce770c2 * align stack on 4 bytes in copyvalueopenarray 2003-01-02 16:17:50 +00:00
daniel
382902d556 * Some debugging on for loop optimization 2003-01-02 15:29:25 +00:00
michael
fbd28675c9 + Patch from peter to support initial values for local variables 2003-01-02 11:14:02 +00:00
peter
d0725b2e7d * high value insertion changed so it works also when 2 parameters
are passed
2003-01-01 22:51:03 +00:00
peter
2b6f661cbc * fixed assembler methods stackpointer optimization that was
broken after the previous change
2003-01-01 21:05:24 +00:00
peter
e4ebaf4af3 * removed unused method 2003-01-01 21:04:48 +00:00
peter
0e31df2ab8 * don't check for export directive repeat 2003-01-01 14:35:33 +00:00
daniel
158e9689d7 + Notification implementation complete
+ Add for loop code optimization using notifications
   results in 1.5-1.9% speed improvement in nestloop benchmark
   Optimization incomplete, compiler does not cycle yet with
   notifications enabled.
2002-12-31 09:55:58 +00:00
daniel
038fec836e * Some work on notifications 2002-12-30 22:44:53 +00:00
mazen
9978ebc539 - unit cga no more used in sparc compiler. 2002-12-30 21:17:22 +00:00
Jonas Maebe
9879f684d2 * don't allow erroneuos read(typedfile,...) statements 2002-12-30 12:54:45 +00:00
Jonas Maebe
8bbf574e8b * fixed web bug #2296 2002-12-30 12:48:07 +00:00
florian
cd4c8de820 * web bug #2214 fixed: ie 10 in const array constructors 2002-12-29 23:51:43 +00:00
peter
215ccaafe2 * fixed parsing of declarations before asm statement 2002-12-29 18:59:34 +00:00
peter
564e9701f7 * also use gettypename for procdef always 2002-12-29 18:26:31 +00:00
peter
59b98f4047 * tprocdef.gettypename implemented 2002-12-29 18:25:59 +00:00
peter
8d6f26bf4f * parse declarations before check _ASM token 2002-12-29 18:25:18 +00:00
peter
a77c4e01dd * insert unitsym with the name as specified in the uses list 2002-12-29 18:17:23 +00:00
peter
d7bedca213 * delphi allows setting calling convention in interface or
implementation
2002-12-29 18:16:06 +00:00
peter
50e870348b * varargs is not checked in proc->procvar for delphi 2002-12-29 18:15:19 +00:00
peter
0de52b9054 * write terminating 0 for widestring constants 2002-12-29 16:58:11 +00:00
peter
bbf8bddbb4 * unit loading changed to first register units and load them
afterwards. This is needed to support uses xxx in yyy correctly
  * unit dependency check fixed
2002-12-29 14:57:50 +00:00
peter
24b7def7c2 * fix static method check
* don't require class for class methods in the implementation for
    non delphi modes
2002-12-29 14:55:44 +00:00
Tomas Hajny
6fff1b96bd * another (hopefully final ;-) ) fix for not linked import libraries for units with no code 2002-12-27 19:09:33 +00:00
peter
da3ef8b6d0 * check for else after empty raise statement 2002-12-27 18:18:56 +00:00
peter
c466e75da1 * fix crashes when searching symbols 2002-12-27 18:07:44 +00:00
peter
f4471a686d * fix overload error for dynarr:=nil 2002-12-27 18:06:32 +00:00
peter
1ae6696e1b * use gettoken to get filename for include 2002-12-27 18:05:58 +00:00
peter
d4ce393336 * support quotes in gettoken 2002-12-27 18:05:27 +00:00
peter
7e58010fa1 * fix delphi comment parsing when skipping preproc directive 2002-12-27 16:45:50 +00:00
peter
1d2dfebd73 * remove property indicator when calling internal helpers 2002-12-27 15:27:25 +00:00
peter
0d2c1bfd3c * give an error when no symbol is specified after $if(n)def 2002-12-27 15:26:43 +00:00
peter
39473f1e59 * procvar compare with 2 ints did not check the integer size 2002-12-27 15:26:12 +00:00
peter
42af4ce5b9 * do not allow threadvar as loop counter 2002-12-27 15:25:40 +00:00
peter
b7d0f39211 * check procoptions when a forward is found
* exclude some call directives for constructor/destructor
2002-12-27 15:25:14 +00:00
peter
791300bac9 * write class methods in fullname 2002-12-27 15:23:09 +00:00
peter
b44a8b42c8 * don't allow initialized threadvars 2002-12-27 15:22:20 +00:00
peter
03df733a8d * threadvar initialization error 2002-12-27 12:50:36 +00:00
Jonas Maebe
ed5a4a6977 * fixed check for whether or not a high parameter was already generated
* no type checking/conversions for invisible parameters
2002-12-26 18:24:33 +00:00
florian
75a0d4154d * fixed support for type widechar consts 2002-12-26 12:34:54 +00:00