| 368 | Engine::~Engine() {} |
| 369 | |
| 370 | Status Engine::Init() { |
| 371 | std::call_once(register_exported_funcs_flag, gandiva::RegisterExportedFuncs); |
| 372 | |
| 373 | // Add mappings for global functions that can be accessed from LLVM/IR module. |
| 374 | ARROW_RETURN_NOT_OK(AddGlobalMappings()); |
| 375 | return Status::OK(); |
| 376 | } |
| 377 | |
| 378 | Status Engine::LoadFunctionIRs() { |
| 379 | if (!functions_loaded_) { |