[Pharo-project] sqInt setCompilerInitialized(sqInt newFlag)

Eliot Miranda eliot.miranda at gmail.com
Sun Feb 20 01:58:58 CET 2011

Hi Stéf,

    it is an initializer for the old jitter VM.  It is not used and simply
set to zero in the Cog VMs.  It is still included in sqVirtualMachine.c
because that's the way that interface works (that VirtualMachine is a struct
of function pointers).

On Fri, Feb 18, 2011 at 12:21 PM, Stéphane Ducasse <
stephane.ducasse at inria.fr> wrote:

> Does anybody have an idea what is the purpose of this function in the vm?
> Stef
> sqInt setCompilerInitialized(sqInt newFlag) {
> register struct foo * foo = &fum;
>    sqInt oldFlag;
>        oldFlag = foo->compilerInitialized;
>        foo->compilerInitialized = newFlag;
>        return oldFlag;
> }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/pharo-project/attachments/20110219/a05d62f8/attachment.htm>

More information about the Pharo-project mailing list