From 53c913bb71b218714823c8c87a1f92830c336f61 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Tue, 12 Aug 2014 23:19:23 -0700 Subject: ART: Clean up compiler Clean up the compiler: less extern functions, dis-entangle compilers, hide some compiler specifics, lower global includes. Change-Id: Ibaf88d02505d86994d7845cf0075be5041cc8438 --- compiler/llvm/compiler_llvm.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'compiler/llvm/compiler_llvm.h') 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 -- cgit v1.2.3-59-g8ed1b