You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to eiffelst...@googlegroups.com
> Could you give me a little hint as to where/how to "simply allocate a 64-bit
> natural at the end of each object" and how to set/access it from code and how to
> do the "little tweak for TUPLEs and SPECIALs"? I assume this would require
> changing one of the C-files in the "C/runtime" directory? Which one(s)?
One could edit the routine `emalloc_size' in `malloc.c' to add `sizeof(EIF_NATURAL_64)' to
the size argument so that memory is allocated. Then you should lookup all references to
EIF_Size in the runtime to ensure they also add that memory. One could possible update the
definition of EIF_Size but one has to be careful this is not used for SPECIAL/TUPLEs and
expanded.
> Then there's the question about how to recompile & link the runtime and
> integrate with the compiler.
Once you have a new runtime, copy all the library files to the EiffelStudio delivery
replacing the standard one.