[squeak-dev] Boolean over-optimization #ifTrue:/#ifFalse:
Igor Stasenko
siguctua at gmail.com
Wed Mar 5 06:01:05 UTC 2008
Hello,
i currently tried to implement a proxy (subclass of ProtoObject) with
own IfTrue:/ifFalse: methods.
What i can't understand, is why VM throws me with #mustBeBoolean
message instead of doing real send if optimized pattern fails (when
receiver of #IfTrue: is a non-boolean)?
Is there any way, without modifying compiler, how to force it to do real send?
--
Best regards,
Igor Stasenko AKA sig.
More information about the Squeak-dev
mailing list
|