[m-dev.] cleanup of runtime/*

Thomas Charles CONWAY conway at cs.mu.oz.au
Mon Feb 10 08:12:04 AEDT 1997


> @@ -255,7 +255,7 @@
>  static void init_zones()
>  {
>  	int i;
> -	Word fake_reg_offset;
> +	size_t fake_reg_offset;
>  
>  	/*
>  	** Allocate the MemoryZone table.

You forgot to use allocate_array to allocate the memory-zone table.
I'll send you a diff.

Apart from that these changes look fine. I've had a couple of thoughts
over the weekend about ways of improving the runtime structure -
Context structures should probably be allocated on the heap so that they
can be garbage collected. Most MemoryZone structures (though not the memory
they describe) should probably be allocated on the heap also. I won't act
on these things yet - I'll wait till the runtime has stabilized for a while.

Thomas
-- 
Thomas Conway               				      conway at cs.mu.oz.au
AD DEUM ET VINUM	  "Thomas Tallis is dead, and muic dies." - William Byrd



More information about the developers mailing list