[M3commit] CVS Update: cm3
Jay Krell
jkrell at elego.de
Thu Oct 21 12:45:19 CEST 2010
CVSROOT: /usr/cvs
Changes by: jkrell at birch. 10/10/21 12:45:19
Modified files:
cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c
Log message:
exprerimental work in progress, but actually making progress
(disabled here)
added function m3_deduce_field_reference and
it sometimes work
note that it uses linear search, lame
would be really great to do something else here..
fields should probably be given typeids, based on their
containing record and name or offset, and then we
can use binary search against all fields, OR fields
should be given small indices 0..n per containing record
struct lang_type could/should be brought to bear
note that array references still have nothing done for them
(even this m3_deduce_field_reference isn't really doing anything yet)
widen current_record_size from ULONG to UWIDE
so 32bit host can target 64bit and deal with large records
(frontend is still broken here, due to use of INTEGER
instead of Target.Int or LONGINT (32bit C implementations
have had 64bit integers for something like 20 years now..)
fix type comparison in load/store to account for the fact
that we now have many pointer types -- make all pointer
types compare equal
change the level of indirection on pointers to records
This might fix debugging them, not yet tested.
More information about the M3commit
mailing list