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
15b0132f6f
* tloadnode does not support objectsymtable,withsymtable anymore
...
* withnode cleanup
* direct with rewritten to use temprefnode
2003-05-11 14:45:12 +00:00
peter
1a2eedd767
* self moved to hidden parameter
...
* removed hdisposen,hnewn,selfn
2003-05-09 17:47:02 +00:00
peter
e2cbae0ff1
* vs_hidden replaced by is_hidden boolean
2003-05-05 14:53:16 +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
Jonas Maebe
b19a9cfc0a
* do callparatemp stuff only after the parameters have been firstpassed,
...
because some nodes are turned into calls during the firstpass
2003-04-27 09:08:44 +00:00
peter
7f14891d66
* aktprocdef cleanup, aktprocdef is now always nil when parsing
...
a new procdef declaration
* aktprocsym removed
* lexlevel removed, use symtable.symtablelevel instead
* implicit init/final code uses the normal genentry/genexit
* funcret state checking updated for new funcret handling
2003-04-27 07:29:50 +00:00
peter
f4b818fc1d
* removed funcretn,funcretsym, function result is now in varsym
...
and aliases for result and function name are added using absolutesym
* vs_hidden parameter for funcret passed in parameter
* vs_hidden fixes
* writenode changed to printnode and released from extdebug
* -vp option added to generate a tree.log with the nodetree
* nicer printnode for statements, callnode
2003-04-25 20:59:33 +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
32d79d4f80
* fix warning for calling constructor inside constructor
2003-04-23 13:21:06 +00:00
florian
0284016ee9
* fixed several issues with powerpc
...
+ applied a patch from Jonas for nested function calls (PowerPC only)
* ...
2003-04-23 12:35:34 +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
8edbb7afed
* fix insert_typeconv to handle new varargs which don't have a
...
paraitem set
2003-04-22 09:53:33 +00:00
peter
1bfa0a6ba3
* don't firstpass typen
2003-04-11 16:02:05 +00:00
peter
d6838c82b4
* support subscript,vec for setting methodpointer varstate
2003-04-11 15:51:04 +00:00
peter
8da3f59d32
* vs_hidden released
2003-04-10 17:57:52 +00:00
Jonas Maebe
ffb79851e6
* more vs_invisible fixes
2003-04-07 11:58:22 +00:00
Jonas Maebe
a4af1a61e1
* fixed VS_HIDDEN for high parameter so it works again
2003-04-07 10:40:21 +00:00
peter
6a16389f67
* moved generic code from n386cal to ncgcal, i386 now also
...
uses the generic ncgcal
2003-04-04 15:38:56 +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
peter
830ea4e876
* support DefaultHandler and anonymous inheritance fixed
...
for message methods
2003-03-17 16:54:41 +00:00
peter
ec66760702
* store symoptions also for procdef
...
* check symoptions (private,public) when calculating possible
overload candidates
2003-03-17 15:54:22 +00:00
daniel
86bcea6ef5
* Code generator converted to new register notation
...
- Horribily outdated todo.txt removed
2003-02-19 22:00:14 +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
970f5d9112
* only check for auto inherited in objectsymtable
2003-01-12 17:52:07 +00:00
peter
23f6b91c4a
* extended information about overloaded candidates when compiled
...
with EXTDEBUG
2003-01-09 21:45:46 +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
c7ca2ff901
+ some stuff for the new hidden parameter handling added
2002-12-15 22:50:00 +00:00
peter
772d7147cd
* give sign difference between ordinals a small penalty. This is
...
needed to get word->[longword|longint] working
2002-12-15 21:34:15 +00:00
florian
1da30f2610
* tcallnode.paraitem introduced, all references to defcoll removed
2002-12-15 21:30:12 +00:00
peter
5ebf9afd63
* fix crash with default parameters
2002-12-15 20:59:58 +00:00
peter
a2a1a36e83
* ignore vs_hidden parameters when choosing overloaded proc
2002-12-15 11:26:02 +00:00
peter
d611c25599
* tcallnode.det_resulttype rewrite, merged code from nice_ncal and
...
the old code. The new code collects the information about possible
candidates only once resultting in much less calls to type compare
routines
2002-12-11 22:42:28 +00:00
carl
081a4aab35
* 3% memory optimization
...
* changed some types
+ added type checking with different size for call node and for
parameters
2002-12-07 14:27:07 +00:00
peter
dc66eafb0b
* merged cdecl and array fixes
2002-12-06 17:51:09 +00:00
peter
cab4c8879f
* only compile cs_fp_emulation support when cpufpuemu is defined
...
* define cpufpuemu for m68k only
2002-12-06 16:56:57 +00:00
peter
1b116848d8
* cdecl array of const fixes
2002-11-27 20:04:38 +00:00
peter
67153fd9a1
* the never ending story of tp procvar hacks
2002-11-27 15:33:46 +00:00
peter
1ba12c259e
* fixed inlinetree parsing in det_resulttype
2002-11-27 02:31:17 +00:00
carl
6a52e7a9e5
- removed the invalid if <> checking (Delphi is strange on this)
...
+ implemented abstract warning on instance creation of class with
abstract methods.
* some error message cleanups
2002-11-25 18:43:31 +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
peter
a496dbe1ff
* pass proccalloption to ret_in_xxx and push_xxx functions
2002-11-18 17:31:54 +00:00
peter
bfd72ad5d5
* merged changes from 1.0.7 up to 04-11
...
- -V option for generating bug report tracing
- more tracing for option parsing
- errors for cdecl and high()
- win32 import stabs
- win32 records<=8 are returned in eax:edx (turned off by default)
- heaptrc update
- more info for temp management in .s file with EXTDEBUG
2002-11-15 01:58:45 +00:00
carl
ed1a28dcdc
* var parameter checking for classes and interfaces in Delphi mode
2002-10-14 18:20:30 +00:00
peter
a1b570bc48
* fixed limit checking for qword
2002-10-06 21:02:17 +00:00
peter
ebbf4d8d14
* Write unknwon compiler proc using Comment and only in Extdebug
2002-10-05 15:15:45 +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
peter
9d0437f8aa
* support inherited; support for overload as it is handled by
...
delphi. This is only for delphi mode as it is working is
undocumented and hard to predict what is done
2002-10-05 00:48:57 +00:00
peter
cea50f7185
* add argument to equal_paras() to support default values or not
2002-09-16 14:11:12 +00:00