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

Method EvalProgram

lobster/src/vm.cpp:717–731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

715}
716
717void VM::EvalProgram() {
718 // Keep exception handling code in seperate function from hot loop in EvalProgramInner()
719 // just in case it affects the compiler.
720 #ifdef USE_EXCEPTION_HANDLING
721 try
722 #endif
723 {
724 EvalProgramInner();
725 }
726 #ifdef USE_EXCEPTION_HANDLING
727 catch (string &s) {
728 if (s != "end-eval") THROW_OR_ABORT(s);
729 }
730 #endif
731}
732
733ostringstream &VM::TraceStream() {
734 size_t trace_size = trace == TraceMode::TAIL ? 50 : 1;

Callers 6

RunLobsterFunction · 0.80
StartWorkersMethod · 0.80
CompileRunFunction · 0.80
EngineRunByteCodeFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected