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/llvm_compiler.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/llvm/llvm_compiler.h')
-rw-r--r-- | compiler/llvm/llvm_compiler.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/compiler/llvm/llvm_compiler.h b/compiler/llvm/llvm_compiler.h new file mode 100644 index 0000000000..da6d0e9784 --- /dev/null +++ b/compiler/llvm/llvm_compiler.h @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2012 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ART_COMPILER_LLVM_LLVM_COMPILER_H_ +#define ART_COMPILER_LLVM_LLVM_COMPILER_H_ + +namespace art { + +class Compiler; +class CompilerDriver; + +Compiler* CreateLLVMCompiler(CompilerDriver* driver); + +} + +#endif // ART_COMPILER_LLVM_LLVM_COMPILER_H_ |