why is Interpreter->pointX not inline?

Tim Rowledge tim at sumeru.stanford.edu
Sat Apr 20 00:37:21 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.




More information about the Squeak-dev mailing list