Rename OatCompilationUnit to Dex.. move to compiler.
Some other clean-up to make fields const and private.
Change-Id: Icad66e2969385ab1f4125162bcbf8d5fa92d3ed5
diff --git a/src/compiler_llvm/compiler_llvm.h b/src/compiler_llvm/compiler_llvm.h
index 0995a55..0470f29 100644
--- a/src/compiler_llvm/compiler_llvm.h
+++ b/src/compiler_llvm/compiler_llvm.h
@@ -34,7 +34,7 @@
class CompiledInvokeStub;
class CompiledMethod;
class CompilerDriver;
- class OatCompilationUnit;
+ class DexCompilationUnit;
namespace mirror {
class AbstractMethod;
class ClassLoader;
@@ -76,12 +76,12 @@
bitcode_filename_ = filename;
}
- CompiledMethod* CompileDexMethod(OatCompilationUnit* oat_compilation_unit,
+ CompiledMethod* CompileDexMethod(DexCompilationUnit* dex_compilation_unit,
InvokeType invoke_type);
- CompiledMethod* CompileGBCMethod(OatCompilationUnit* oat_compilation_unit, std::string* func);
+ CompiledMethod* CompileGBCMethod(DexCompilationUnit* dex_compilation_unit, std::string* func);
- CompiledMethod* CompileNativeMethod(OatCompilationUnit* oat_compilation_unit);
+ CompiledMethod* CompileNativeMethod(DexCompilationUnit* dex_compilation_unit);
CompiledInvokeStub* CreateInvokeStub(bool is_static, const char *shorty);