| 814 | return 0; |
| 815 | } |
| 816 | double nullcGetResultDouble() |
| 817 | { |
| 818 | using namespace NULLC; |
| 819 | NULLC_CHECK_INITIALIZED(0.0); |
| 820 | |
| 821 | #ifndef NULLC_NO_EXECUTOR |
| 822 | if(currExec == NULLC_VM) |
| 823 | return executor->GetResultDouble(); |
| 824 | #endif |
| 825 | #ifdef NULLC_BUILD_X86_JIT |
| 826 | if(currExec == NULLC_X86) |
| 827 | return executorX86->GetResultDouble(); |
| 828 | #endif |
| 829 | #if defined(NULLC_LLVM_SUPPORT) && !defined(NULLC_NO_EXECUTOR) |
| 830 | if(currExec == NULLC_LLVM) |
| 831 | return executorLLVM->GetResultDouble(); |
| 832 | #endif |
| 833 | return 0.0; |
| 834 | } |
| 835 | long long nullcGetResultLong() |
| 836 | { |
| 837 | using namespace NULLC; |