Unify the invoke stubs and replace "oat" with "Art" in the API.
Change-Id: Ic1529d7568bd5297fdce4da69ede67c2f48487a4
diff --git a/src/compiler/Frontend.cc b/src/compiler/Frontend.cc
index 1b8bcc1..e1b2c60 100644
--- a/src/compiler/Frontend.cc
+++ b/src/compiler/Frontend.cc
@@ -733,11 +733,11 @@
}
}
-CompiledMethod* oatCompileMethodInternal(Compiler& compiler,
- const DexFile::CodeItem* code_item,
- uint32_t access_flags, uint32_t method_idx,
- const ClassLoader* class_loader,
- const DexFile& dex_file)
+CompiledMethod* oatCompileMethod(Compiler& compiler,
+ const DexFile::CodeItem* code_item,
+ uint32_t access_flags, uint32_t method_idx,
+ const ClassLoader* class_loader,
+ const DexFile& dex_file)
{
VLOG(compiler) << "Compiling " << PrettyMethod(method_idx, dex_file) << "...";
@@ -1032,12 +1032,12 @@
} // namespace art
-extern "C" art::CompiledMethod* oatCompileMethod(art::Compiler& compiler,
+extern "C" art::CompiledMethod* ArtCompileMethod(art::Compiler& compiler,
const art::DexFile::CodeItem* code_item,
uint32_t access_flags, uint32_t method_idx,
const art::ClassLoader* class_loader,
const art::DexFile& dex_file)
{
CHECK_EQ(compiler.GetInstructionSet(), art::oatInstructionSet());
- return art::oatCompileMethodInternal(compiler, code_item, access_flags, method_idx, class_loader, dex_file);
+ return art::oatCompileMethod(compiler, code_item, access_flags, method_idx, class_loader, dex_file);
}