[Pharo-project] sqInt setCompilerInitialized(sqInt newFlag)

Stéphane Ducasse stephane.ducasse at inria.fr
Sun Feb 20 08:59:54 CET 2011


Tx

> Hi Stéf,
> 
>     it is an initializer for the old jitter VM.

which one?
The one that marcus worked on with Ian in 2001?

>  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).

I did not get it.

> 
> 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;
> }
> 
> 





More information about the Pharo-project mailing list