Remove ExtractCodeAndPrelink and switch Portable to MCLinker
Change-Id: Ia2459c7da6b79e0a1c0f1148c6e28ad9cbbe27a2
diff --git a/src/compiler/llvm/compiler_llvm.h b/src/compiler/llvm/compiler_llvm.h
index 870a541..cbee115 100644
--- a/src/compiler/llvm/compiler_llvm.h
+++ b/src/compiler/llvm/compiler_llvm.h
@@ -22,7 +22,6 @@
#include "dex_file.h"
#include "instruction_set.h"
#include "mirror/object.h"
-#include "procedure_linkage_table.h"
#include <UniquePtr.h>
@@ -87,10 +86,6 @@
CompiledInvokeStub* CreateProxyStub(const char *shorty);
- const ProcedureLinkageTable& GetProcedureLinkageTable() const {
- return plt_;
- }
-
private:
LlvmCompilationUnit* AllocateCompilationUnit();
@@ -98,13 +93,11 @@
InstructionSet insn_set_;
- Mutex num_cunits_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
- size_t num_cunits_ GUARDED_BY(num_cunits_lock_);
+ Mutex next_cunit_id_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
+ size_t next_cunit_id_ GUARDED_BY(next_cunit_id_lock_);
std::string bitcode_filename_;
- ProcedureLinkageTable plt_;
-
DISALLOW_COPY_AND_ASSIGN(CompilerLLVM);
};