diff options
author | Andreas Gampe <agampe@google.com> | 2014-08-12 23:19:23 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-08-22 21:20:08 -0700 |
commit | 53c913bb71b218714823c8c87a1f92830c336f61 (patch) | |
tree | 96aebfc9ae62eb1454b78286236567e2b6f3e5c7 /compiler/driver/compiler_driver.h | |
parent | e18aa4316eb9a15cd6b1051f27a1ce49967c170e (diff) | |
download | android_art-53c913bb71b218714823c8c87a1f92830c336f61.tar.gz android_art-53c913bb71b218714823c8c87a1f92830c336f61.tar.bz2 android_art-53c913bb71b218714823c8c87a1f92830c336f61.zip |
ART: Clean up compiler
Clean up the compiler: less extern functions, dis-entangle
compilers, hide some compiler specifics, lower global includes.
Change-Id: Ibaf88d02505d86994d7845cf0075be5041cc8438
Diffstat (limited to 'compiler/driver/compiler_driver.h')
-rw-r--r-- | compiler/driver/compiler_driver.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h index d8f318ba97..87523bf43b 100644 --- a/compiler/driver/compiler_driver.h +++ b/compiler/driver/compiler_driver.h @@ -76,20 +76,6 @@ enum DexToDexCompilationLevel { kOptimize // Perform required transformation and peep-hole optimizations. }; -// Thread-local storage compiler worker threads -class CompilerTls { - public: - CompilerTls() : llvm_info_(NULL) {} - ~CompilerTls() {} - - void* GetLLVMInfo() { return llvm_info_; } - - void SetLLVMInfo(void* llvm_info) { llvm_info_ = llvm_info; } - - private: - void* llvm_info_; -}; - class CompilerDriver { public: // Create a compiler targeting the requested "instruction_set". |