mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 21:51:09 +00:00
don't call VM_Compile if it's not supported so the VM_Compile symbol
isn't needed
This commit is contained in:
parent
f6cb6eee96
commit
f62601ac53
1 changed files with 4 additions and 3 deletions
|
@ -558,12 +558,13 @@ vm_t *VM_Create( const char *module, long (*systemCalls)(long *),
|
|||
Com_Printf("Architecture doesn't have a bytecode compiler, using interpreter\n");
|
||||
interpret = VMI_BYTECODE;
|
||||
}
|
||||
#endif
|
||||
|
||||
#else
|
||||
if ( interpret >= VMI_COMPILED ) {
|
||||
vm->compiled = qtrue;
|
||||
VM_Compile( vm, header );
|
||||
} else {
|
||||
} else
|
||||
#endif
|
||||
{
|
||||
vm->compiled = qfalse;
|
||||
VM_PrepareInterpreter( vm, header );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue