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
Mathieu Suen schrieb:
Hi,
I have a wierd tranlation from VMMaker: The Squeak code is:
(messageSelector = self splObj: SelectorNextObject) not
You're missing parentheses here. It should probably be (messageSelector = (self splObj: SelectorNextObject)) not
and instead of "(condition) not ifTrue: [...]" you should perhaps write "(condition) ifFalse: [...]".
Cheers, Hans-Martin
ups right thank
On Jan 10, 2008, at 3:59 PM, Hans-Martin Mosner wrote:
Mathieu Suen schrieb:
Hi,
I have a wierd tranlation from VMMaker: The Squeak code is:
(messageSelector = self splObj: SelectorNextObject) not
You're missing parentheses here. It should probably be (messageSelector = (self splObj: SelectorNextObject)) not
and instead of "(condition) not ifTrue: [...]" you should perhaps write "(condition) ifFalse: [...]".
Cheers, Hans-Martin
Mth
vm-dev@lists.squeakfoundation.org