diff options
Diffstat (limited to 'runtime/jit/jit.cc')
-rw-r--r-- | runtime/jit/jit.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/runtime/jit/jit.cc b/runtime/jit/jit.cc index ecaf6791f9..3d7ba535c2 100644 --- a/runtime/jit/jit.cc +++ b/runtime/jit/jit.cc @@ -242,16 +242,7 @@ bool Jit::LoadSymbol(T* address, const char* name, std::string* error_msg) { return true; } -#ifdef ART_STATIC_LIBART -extern "C" JitCompilerInterface* jit_load(); -#endif - bool Jit::LoadCompilerLibrary(std::string* error_msg) { -#ifdef ART_STATIC_LIBART - (void)error_msg; - jit_load_ = &jit_load; - return true; -#else jit_library_handle_ = dlopen( kIsDebugBuild ? "libartd-compiler.so" : "libart-compiler.so", RTLD_NOW); if (jit_library_handle_ == nullptr) { @@ -265,7 +256,6 @@ bool Jit::LoadCompilerLibrary(std::string* error_msg) { return false; } return true; -#endif } bool Jit::CompileMethodInternal(ArtMethod* method, |