| 349 | } |
| 350 | |
| 351 | const char* ExecutorLLVM::GetResult() |
| 352 | { |
| 353 | switch(llvmReturnedType) |
| 354 | { |
| 355 | case LLVM_DOUBLE: |
| 356 | SafeSprintf(execResult, 64, "%f", llvmReturnedDouble); |
| 357 | break; |
| 358 | case LLVM_LONG: |
| 359 | SafeSprintf(execResult, 64, "%lldL", llvmReturnedLong); |
| 360 | break; |
| 361 | case LLVM_INT: |
| 362 | SafeSprintf(execResult, 64, "%d", llvmReturnedInt); |
| 363 | break; |
| 364 | default: |
| 365 | SafeSprintf(execResult, 64, "no return value"); |
| 366 | break; |
| 367 | } |
| 368 | return execResult; |
| 369 | } |
| 370 | |
| 371 | int ExecutorLLVM::GetResultInt() |
| 372 | { |
nothing calls this directly
no test coverage detected