MCPcopy Create free account
hub / github.com/aardappel/lobster / EvalProgram

Method EvalProgram

dev/src/vm.cpp:632–645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

630}
631
632void VM::EvalProgram() {
633 #if VM_USE_LONGJMP
634 // See longjmp above for why this is needed.
635 if (setjmp(jump_buffer)) {
636 // Resume normal error now that we've jumped past the C/JIT-ted code.
637 THROW_OR_ABORT(errmsg);
638 }
639 #endif
640 #if VM_JIT_MODE
641 vma.jit_entry(*this, nullptr);
642 #else
643 compiled_entry_point(*this, nullptr);
644 #endif
645}
646
647void VM::CallFunctionValue(Value f) {
648 auto fv = f.ip();

Callers 3

StartWorkersMethod · 0.80
RunTCCFunction · 0.80
RunCompiledCodeMainFunction · 0.80

Calls 1

THROW_OR_ABORTFunction · 0.85

Tested by

no test coverage detected