summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/compiler_llvm.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler_llvm/compiler_llvm.cc')
-rw-r--r--src/compiler_llvm/compiler_llvm.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/compiler_llvm/compiler_llvm.cc b/src/compiler_llvm/compiler_llvm.cc
index baa6b2feeb..c89000357f 100644
--- a/src/compiler_llvm/compiler_llvm.cc
+++ b/src/compiler_llvm/compiler_llvm.cc
@@ -377,11 +377,6 @@ extern "C" std::vector<art::ElfImage> compilerLLVMGetElfImages(const art::Compil
return ContextOf(compiler)->GetElfImages();
}
-// Note: Using this function carefully!!! This is temporary solution, we will remove it.
-extern "C" art::MutexLock* compilerLLVMMutexLock(art::Compiler& compiler) {
- return new art::MutexLock(ContextOf(compiler)->compiler_lock_);
-}
-
extern "C" void compilerLLVMDispose(art::Compiler& compiler) {
delete ContextOf(compiler);
}