| 795 | return "unknown executor"; |
| 796 | } |
| 797 | int nullcGetResultInt() |
| 798 | { |
| 799 | using namespace NULLC; |
| 800 | NULLC_CHECK_INITIALIZED(0); |
| 801 | |
| 802 | #ifndef NULLC_NO_EXECUTOR |
| 803 | if(currExec == NULLC_VM) |
| 804 | return executor->GetResultInt(); |
| 805 | #endif |
| 806 | #ifdef NULLC_BUILD_X86_JIT |
| 807 | if(currExec == NULLC_X86) |
| 808 | return executorX86->GetResultInt(); |
| 809 | #endif |
| 810 | #if defined(NULLC_LLVM_SUPPORT) && !defined(NULLC_NO_EXECUTOR) |
| 811 | if(currExec == NULLC_LLVM) |
| 812 | return executorLLVM->GetResultInt(); |
| 813 | #endif |
| 814 | return 0; |
| 815 | } |
| 816 | double nullcGetResultDouble() |
| 817 | { |
| 818 | using namespace NULLC; |