Jonas Maebe
d8725a18bf
* disable fpuregable for fpu variables typecasted to non fpu-type
2003-06-04 17:55:09 +00:00
Jonas Maebe
ad0dd43c4b
* fixed void_to_(int,pointer) typeconversion
2003-06-04 17:29:01 +00:00
peter
4d67ae9f31
* fix check for procedure without parameters
...
* calling constructor as member will not allocate memory
2003-06-03 21:05:48 +00:00
peter
26d78ff5c9
* moved implicit exception frame from ncgutil to psub
...
* constructor/destructor helpers moved from cobj/ncgutil to psub
2003-05-11 21:37:03 +00:00
peter
1a2eedd767
* self moved to hidden parameter
...
* removed hdisposen,hnewn,selfn
2003-05-09 17:47:02 +00:00
peter
60978ba89c
* aktprocdef renamed to current_procdef
...
* procinfo renamed to current_procinfo
* procinfo will now be stored in current_module so it can be
cleaned up properly
* gen_main_procsym changed to create_main_proc and release_main_proc
to also generate a tprocinfo structure
* fixed unit implicit initfinal
2003-04-27 11:21:32 +00:00
peter
c21ca3dfa0
+ added currency support based on int64
...
+ is_64bit for use in cg units instead of is_64bitint
* removed cgmessage from n386add, replace with internalerrors
2003-04-23 20:16:03 +00:00
peter
155a2cdab4
* fix checking of procdef type which was broken since loadn returned
...
pointertype for tp procvar
2003-04-23 13:13:08 +00:00
peter
41dfcfba39
* expectloc fixes
2003-04-23 10:10:07 +00:00
peter
47489f2376
* firstpass uses expectloc
...
* checks if there are differences between the expectloc and
location.loc from secondpass in EXTDEBUG
2003-04-22 23:50:22 +00:00
peter
0e0a581230
* do not convert procvars with void return to callnode
2003-04-22 09:52:30 +00:00
peter
07f1898c68
* fix missing self setting for method to procvar conversion in
...
tp_procvar mode
2003-03-17 18:54:23 +00:00
carl
dd0322c646
* generic conversaion routines only work on signed types
2003-02-15 22:15:57 +00:00
peter
34de6782a5
* convert_l3 convertlevel added. This level is used for conversions
...
where information can be lost like converting widestring->ansistring
or dword->byte
2003-01-16 22:13:51 +00:00
peter
00e2ee165b
* merged methodpointer fixes from 1.0.x
2003-01-15 01:44:32 +00:00
peter
90473fa87f
* constant string conversion fixed, it's now equal to both
...
shortstring, ansistring and the typeconvnode will return
te_equal but still return convtype to change the constnode
2003-01-09 21:43:39 +00:00
peter
b3ef495a2b
* move code that checks for longint-pointer conversion hint
2003-01-05 22:41:40 +00:00
daniel
5041b70618
* Removed ifdefs around notifications
...
ifdefs around for loop optimizations remain
2003-01-03 12:15:55 +00:00
peter
54d8b64899
* proc-procvar crash fixed (tw2277)
2002-12-22 16:34:49 +00:00
peter
70f03b9d6c
* don't allow class(classref) conversion
2002-12-20 16:01:26 +00:00
florian
121ca40b39
* some variant <-> dyn. array stuff
2002-12-05 14:27:25 +00:00
carl
87e69126fb
* fix bug with checking of duplicated items in sets (new sets bug only)
2002-11-30 10:45:14 +00:00
carl
4532dbd680
* updated notes and hints
2002-11-27 19:43:21 +00:00
peter
acb449fb1f
* more currency fixes, taddcurr runs now successfull
2002-11-27 13:11:38 +00:00
peter
8351bb059b
* when converting from and to currency divide or multiple the
...
result by 10000
2002-11-27 11:29:21 +00:00
peter
f3fc72095f
* splitted defbase in defutil,symutil,defcmp
...
* merged isconvertable and is_equal into compare_defs(_ext)
* made operator search faster by walking the list only once
2002-11-25 17:43:16 +00:00
carl
64655be168
* memory optimization (3-4%) : cleanup of tai fields,
...
cleanup of tdef and tsym fields.
* make it work for m68k
2002-11-17 16:31:55 +00:00
florian
161d1b923e
+ several widestring/pwidechar related stuff added
2002-10-10 16:07:57 +00:00
florian
6d1506a7c6
* when compiling <interface> as <interface> we can't assume
...
anything about relation
2002-10-06 16:10:23 +00:00
carl
67486c96c3
* fixes for Delphi 6 compilation
...
(warning : Some features do not work under Delphi)
2002-10-05 12:43:23 +00:00
florian
eeae421d91
- removed the relation check for <class> as <interface> because we don't
...
know the runtime type of <class>! It could be a child class of the given type
which implements additional interfaces
2002-10-02 20:23:50 +00:00
florian
4cf1bb7038
+ the as operator for <class> as <interface> has to check the parent classes as well
2002-10-02 20:17:14 +00:00
florian
d5f0cbbf2b
* fixes to common code to get the alpha compiler compiled applied
2002-09-30 07:00:44 +00:00
peter
cea50f7185
* add argument to equal_paras() to support default values or not
2002-09-16 14:11:12 +00:00
carl
752beef0dd
* cardinal -> longword
2002-09-07 20:40:23 +00:00
peter
dcd9e0107c
* old logs removed and tabs fixed
2002-09-07 15:25:00 +00:00
carl
6c2bede5a8
* second part bug report 1996 fix, testrange in cordconstnode
...
only called if option is set (also make parsing a tiny faster)
2002-09-07 12:16:03 +00:00
Jonas Maebe
86830c26b8
- reverted my last commit, it was completely bogus :(
2002-09-05 05:56:07 +00:00
Jonas Maebe
d2401f67b4
- removed unnecessary typeconversion from char_to_string
2002-09-04 19:38:42 +00:00
peter
a17291b2d4
* array of char support for Str()
2002-09-02 19:24:41 +00:00
daniel
4b82d30953
* Removed sets from Tcallnode.det_resulttype
...
+ Added read/write notifications of variables. These will be usefull
for providing information for several optimizations. For example
the value of the loop variable of a for loop does matter is the
variable is read after the for loop, but if it's no longer used
or written, it doesn't matter and this can be used to optimize
the loop code generation.
2002-09-01 08:01:16 +00:00
peter
4b81e16fe2
* tempgen cleanup
...
* tt_noreuse temp type added that will be used in genentrycode
2002-08-23 16:14:48 +00:00
Jonas Maebe
ed08ed1ce0
* the as node again uses a compilerproc
...
+ (untested) support for interface "as" statements
2002-08-20 18:23:32 +00:00
peter
91b49914f6
* More fixes for cross unit inlining, all tnodes are now implemented
...
* Moved pocall_internconst to po_internconst because it is not a
calling type at all and it conflicted when inlining of these small
functions was requested
2002-08-19 19:36:42 +00:00
florian
e313bab4ff
* first part of procinfo rewrite
2002-08-17 09:23:33 +00:00
carl
e212fa90d5
+ generic int_to_real type conversion
...
+ generic unaryminus node
2002-08-14 19:26:55 +00:00
florian
31c178f207
+ support of explicit type case boolean->char
2002-08-11 16:08:55 +00:00
florian
589c742efe
+ support of explicit type case <any ordinal type>->pointer
...
(delphi mode only)
2002-08-11 15:28:00 +00:00
florian
030eae46de
* a couple of interface related fixes
2002-08-09 07:33:01 +00:00
florian
e7a6cd18dd
* more fixes for the ppc
...
+ wrappers for the tcnvnode.first_* stuff introduced
2002-07-29 21:23:42 +00:00