[Vm-dev] Re: About Freetype plugin and BYTES_PER_WORD

Igor Stasenko siguctua at gmail.com
Thu Sep 1 14:00:41 UTC 2011


I think using
	^self
		cCode: 'BYTES_PER_WORD'
		inSmalltalk: [self subclassResponsibility "InterpreterSimulator"]

instead of


	^BytesPerWord

is a mistake.

Because i just look at uses of BytesPerWord pool var in sources,
and there are 482 references to it.
And in generated code it produces just 'BytesPerWord' for it, but not
'BYTES_PER_WORD'

-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list