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/llvm/compiler_llvm.h | |
parent | e18aa4316eb9a15cd6b1051f27a1ce49967c170e (diff) | |
download | art-53c913bb71b218714823c8c87a1f92830c336f61.tar.gz art-53c913bb71b218714823c8c87a1f92830c336f61.tar.bz2 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/llvm/compiler_llvm.h')
-rw-r--r-- | compiler/llvm/compiler_llvm.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/compiler/llvm/compiler_llvm.h b/compiler/llvm/compiler_llvm.h index cc74deb7be..7d29198667 100644 --- a/compiler/llvm/compiler_llvm.h +++ b/compiler/llvm/compiler_llvm.h @@ -95,6 +95,19 @@ class CompilerLLVM { DISALLOW_COPY_AND_ASSIGN(CompilerLLVM); }; +void ArtInitCompilerContext(CompilerDriver* driver); + +void ArtUnInitCompilerContext(CompilerDriver* driver); + +CompiledMethod* ArtCompileMethod(CompilerDriver* driver, const DexFile::CodeItem* code_item, + uint32_t access_flags, InvokeType invoke_type, + uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, + const DexFile& dex_file); + +CompiledMethod* ArtLLVMJniCompileMethod(CompilerDriver* driver, uint32_t access_flags, + uint32_t method_idx, const DexFile& dex_file); + +void compilerLLVMSetBitcodeFileName(const CompilerDriver& driver, const std::string& filename); } // namespace llvm } // namespace art |