On 1 April 2010 23:25, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Hi
CompiledMethod                 newBytes: size                 trailerBytes: CompiledMethodTrailer empty                 nArgs: nbArgs                 nTemps: nbTmp                 nStack: 0                 nLits: nbLit                 primitive: 0.
is is the equivalent as the old?
CompiledMethod                 newBytes: size                 trailerBytes: #(0 0 0 0)                 nArgs: nbArgs                 nTemps: nbTmp                 nStack: 0                 nLits: nbLit                 primitive: 0.
Thanks.
yes. There's also a #defaultMethodTrailer in Behavior defaultMethodTrailer ^ CompiledMethodTrailer empty so, you could use it instead (to leave chance to change it in future to something else, and avoid direct reference to CompiledMethodTrailer in many places).
Stef
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.