Begin forwarded message:
From: "David T. Lewis" <lewis@mail.msen.com> Date: November 7, 2008 1:08:04 AM CEST To: John M McIntosh <johnmci@smalltalkconsulting.com> Cc: stephane.ducasse@inria.fr Subject: Re: Fwd: [Pharo-project] ArrayedCollection, Boolean SmallInteger>>ccg: cg generateCoerceToOopFrom: aNode on: aStream
Hi John,
It is safe to remove all the 'ccg:*' methods from Pharo, and no other updates are required for VMMaker.
All of the methods in question are already included in the VMMaker package. The methods in the base image are exact duplicates of the corresponding methods in the VMMaker package (except for method category of course). I would guess that Tim may have just forgotten to delete them.
I have entered Mantis issue #7221 to track this, with a change set to remove the duplicate methods from a base 3.10 image. I also confirmed that after removing the methods from the base image, I was able to load VMMaker and build a VM.
- Dave
On Thu, Nov 06, 2008 at 12:34:11PM -0800, John M McIntosh wrote:
David if you want to look into this that would be good. I think there are a few other methods (4 message sends I think)
ccg:emitLoadFor:from:on: ccg:generateCoerceToOopFrom:on: ccg:generateCoerceToValueFrom:on: ccg:prolog:expr:index:
on Array, Boolean, ByteArray, Float, FloatArray, IntegerArry, Object, and WordArray
As the Pharo folks noticed these really should be part of VMMaker and not in the base squeak distribution.
Begin forwarded message:
From: St?phane Ducasse <stephane.ducasse@inria.fr> Date: November 5, 2008 12:22:57 PM PST (CA) To: Pharo Development <Pharo-project@lists.gforge.inria.fr> Subject: [Pharo-project] ArrayedCollection, Boolean SmallInteger>>ccg: cg generateCoerceToOopFrom: aNode on: aStream Reply-To: Pharo Development <pharo-project@lists.gforge.inria.fr>
I have the impression that we could remove these methods from the images. It seems that this is related to the VM generation? Does someone know more about them? Stef
ccg: cg generateCoerceToOopFrom: aNode on: aStream
self instSize > 0 ifTrue: [self error: 'cannot auto-coerce arrays with named instance variables']. cg generateCoerceToObjectFromPtr: aNode on: aStream