[Vm-dev] VMMaker wrong C translation

Mathieu Suen mathk.sue at gmail.com
Thu Jan 10 12:54:31 UTC 2008


Hi,

I have a wierd tranlation from VMMaker:
The Squeak code is:

(messageSelector = self splObj: SelectorNextObject) not
		ifTrue: [
		....
		]

the C is:

if (!(longAt((foo->specialObjectsOop + BaseHeaderSize) +  
(SelectorNextObject << ShiftForWord)))) {

}

So the foo->messageSelector have despaired.

Any idea why?

Thanks


	Mth





More information about the Vm-dev mailing list