why is Interpreter->pointX not inline?

John M McIntosh johnmci at mac.com
Sat Apr 20 14:53:17 UTC 2002


>John M McIntosh <johnmci at smalltalkconsulting.com> is claimed by the 
>authorities to have written:
>
>
>>
>>  Ah, it's late and I must be missing why we do this? couldn't we just
>>  inline primitivePointX maybe even forgo the externalizeIPandSP.
>>
>>  Maybe it will be come obvious in the morning?
>Primitives are not inlined into other functions!
>
>I think you could reasonably edit the relevant code into the bytecode
>special routine though, just like some of the others.
>
>tim
>--
>Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
>There can never be a computer language in which you cannot write a 
>bad program.

Tim I think the explicit noinline prevents it from being inlined. 
Question is what's the esoteric reason behind the original coding of 
that request?


-- 
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================



More information about the Squeak-dev mailing list