MCPcopy Create free account
hub / github.com/ZDoom/Raze / JitCompile

Method JitCompile

source/common/scripting/vm/vmframe.cpp:293–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293void VMScriptFunction::JitCompile()
294{
295 if(!(VarFlags & VARF_Abstract))
296 {
297 #ifdef HAVE_VM_JIT
298 if (vm_jit && CanJit(this))
299 {
300 ScriptCall = ::JitCompile(this);
301 if (!ScriptCall)
302 ScriptCall = VMExec;
303 }
304 else
305 #endif // HAVE_VM_JIT
306 {
307 ScriptCall = VMExec;
308 }
309 }
310}
311
312int VMScriptFunction::FirstScriptCall(VMFunction *func, VMValue *params, int numparams, VMReturn *ret, int numret)
313{

Callers 2

BuildMethod · 0.80
FirstScriptCallMethod · 0.80

Calls 2

CanJitFunction · 0.85
JitCompileFunction · 0.85

Tested by

no test coverage detected