[VM-dev] Do we have special bytecode to push class of object or to compare object class?

Denis Kudriashov dionisiydk at gmail.com
Fri May 27 19:54:29 UTC 2016


Hi.

I want to play with idea to make #ifNil: optimization in the way that for
particular receiver it will be always real message send.
I want to compile it with extra check like

receiver class = MySpecialClass ifTrue: ifNilBlock.


I want to measure performance impact.
I know in the past #class was compiled as special bytecode. Is it available
now? And what bytecode I could use?

Best regards,
Denis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160527/25214726/attachment.htm


More information about the Vm-dev mailing list