| 833 | return 0.0; |
| 834 | } |
| 835 | long long nullcGetResultLong() |
| 836 | { |
| 837 | using namespace NULLC; |
| 838 | NULLC_CHECK_INITIALIZED(0); |
| 839 | |
| 840 | #ifndef NULLC_NO_EXECUTOR |
| 841 | if(currExec == NULLC_VM) |
| 842 | return executor->GetResultLong(); |
| 843 | #endif |
| 844 | #ifdef NULLC_BUILD_X86_JIT |
| 845 | if(currExec == NULLC_X86) |
| 846 | return executorX86->GetResultLong(); |
| 847 | #endif |
| 848 | #if defined(NULLC_LLVM_SUPPORT) && !defined(NULLC_NO_EXECUTOR) |
| 849 | if(currExec == NULLC_LLVM) |
| 850 | return executorLLVM->GetResultLong(); |
| 851 | #endif |
| 852 | return 0; |
| 853 | } |
| 854 | |
| 855 | const char* nullcGetLastError() |
| 856 | { |