| 291 | } |
| 292 | |
| 293 | void 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 | |
| 312 | int VMScriptFunction::FirstScriptCall(VMFunction *func, VMValue *params, int numparams, VMReturn *ret, int numret) |
| 313 | { |
no test coverage detected