MCPcopy Create free account
hub / github.com/WheretIB/nullc / nullcGetResult

Function nullcGetResult

NULLC/nullc.cpp:778–796  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

776#endif
777
778const char* nullcGetResult()
779{
780 using namespace NULLC;
781 NULLC_CHECK_INITIALIZED("");
782
783#ifndef NULLC_NO_EXECUTOR
784 if(currExec == NULLC_VM)
785 return executor->GetResult();
786#endif
787#ifdef NULLC_BUILD_X86_JIT
788 if(currExec == NULLC_X86)
789 return executorX86->GetResult();
790#endif
791#if defined(NULLC_LLVM_SUPPORT) && !defined(NULLC_NO_EXECUTOR)
792 if(currExec == NULLC_LLVM)
793 return executorLLVM->GetResult();
794#endif
795 return "unknown executor";
796}
797int nullcGetResultInt()
798{
799 using namespace NULLC;

Callers 4

CalcThreadFunction · 0.85
mainFunction · 0.85
RunCodeMethod · 0.85
RunInterfaceTestsFunction · 0.85

Calls 1

GetResultMethod · 0.45

Tested by 2

RunCodeMethod · 0.68
RunInterfaceTestsFunction · 0.68