summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/compiler_llvm.cc
diff options
context:
space:
mode:
author Logan Chien <loganchien@google.com> 2012-04-16 02:28:08 +0800
committer Shih-wei Liao <sliao@google.com> 2012-04-15 15:28:14 -0700
commitfd8ea97f64fb6d32cbfe35729b816a22dfa18224 (patch)
tree6b9e7b5f9d92483cbf05dda01ebdbec24658bd3f /src/compiler_llvm/compiler_llvm.cc
parentd668a06b5dcc3b0f7f788da4d756cd4ee6f1d0fa (diff)
Remove the CompilerLLVM mutex lock workaround.
Change-Id: Iefc4e020d6b0a9a67d4c7ad5780f28e0082393c2
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);
}