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