Feb. 20, 2011
7:59 a.m.
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@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; }