diff options
author | Elliott Hughes <enh@google.com> | 2014-12-11 14:34:28 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-12-12 09:33:34 -0800 |
commit | 956af0f0cb05422e38c1d22cbef309d16b8a1a12 (patch) | |
tree | b558c804d206dad8da648b815750f1b3c97610ae /compiler/compiler.h | |
parent | 407d77f344cfbdbbfb50531c5f0766bc0892e2fe (diff) | |
download | art-956af0f0cb05422e38c1d22cbef309d16b8a1a12.zip art-956af0f0cb05422e38c1d22cbef309d16b8a1a12.tar.gz art-956af0f0cb05422e38c1d22cbef309d16b8a1a12.tar.bz2 |
Remove portable.
Change-Id: I3bf3250fa866fd2265f1b115d52fa5dedc48a7fc
Diffstat (limited to 'compiler/compiler.h')
-rw-r--r-- | compiler/compiler.h | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/compiler/compiler.h b/compiler/compiler.h index c2c15ff..07e2fd6 100644 --- a/compiler/compiler.h +++ b/compiler/compiler.h @@ -32,19 +32,11 @@ namespace mirror { class ArtMethod; } -// Base class for compiler-specific thread-local storage for compiler worker threads -class CompilerTls { - public: - CompilerTls() {} - ~CompilerTls() {} -}; - class Compiler { public: enum Kind { kQuick, - kOptimizing, - kPortable + kOptimizing }; static Compiler* Create(CompilerDriver* driver, Kind kind); @@ -64,14 +56,6 @@ class Compiler { jobject class_loader, const DexFile& dex_file) const = 0; - static CompiledMethod* TryCompileWithSeaIR(const art::DexFile::CodeItem* code_item, - uint32_t access_flags, - art::InvokeType invoke_type, - uint16_t class_def_idx, - uint32_t method_idx, - jobject class_loader, - const art::DexFile& dex_file); - virtual CompiledMethod* JniCompile(uint32_t access_flags, uint32_t method_idx, const DexFile& dex_file) const = 0; @@ -92,15 +76,6 @@ class Compiler { return maximum_compilation_time_before_warning_; } - virtual bool IsPortable() const { - return false; - } - - void SetBitcodeFileName(const CompilerDriver& driver, const std::string& filename) { - UNUSED(driver); - UNUSED(filename); - } - virtual void InitCompilationUnit(CompilationUnit& cu) const = 0; virtual ~Compiler() {} @@ -119,10 +94,6 @@ class Compiler { return nullptr; } - virtual CompilerTls* CreateNewCompilerTls() { - return nullptr; - } - // Returns whether the method to compile is such a pathological case that // it's not worth compiling. static bool IsPathologicalCase(const DexFile::CodeItem& code_item, |