summaryrefslogtreecommitdiff
path: root/src/compiler.h
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2011-11-13 20:13:17 -0800
committer Ian Rogers <irogers@google.com> 2011-11-14 09:27:23 -0800
commit169c9a7f46776b235d0a37d5e0ff27682deffe06 (patch)
tree9bd38fe9508e827089d546f04b0b42020eef821e /src/compiler.h
parent0571d357843c53e042f370f5f2c2e9aa3fe803a9 (diff)
Remove the use of Method from jni_compiler
Change-Id: Ibf1c72a806e7f1ba7a2d83960c3d57f41937d336
Diffstat (limited to 'src/compiler.h')
-rw-r--r--src/compiler.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/compiler.h b/src/compiler.h
index f29fbbc94a..18079644cc 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -54,6 +54,8 @@ class Compiler {
static ByteArray* CreateResolutionStub(InstructionSet instruction_set,
Runtime::TrampolineType type);
+ static ByteArray* CreateJniDlysmLookupStub(InstructionSet instruction_set);
+
// A method is uniquely located by its DexFile and index into the method_id table of that dex file
typedef std::pair<const DexFile*, uint32_t> MethodReference;
@@ -93,8 +95,8 @@ class Compiler {
void CompileDexFile(const ClassLoader* class_loader, const DexFile& dex_file);
void CompileClass(const DexFile::ClassDef& class_def, const ClassLoader* class_loader,
const DexFile& dex_file);
- void CompileMethod(bool is_direct, bool is_native, bool is_static, bool is_abstract,
- uint32_t method_idx, const ClassLoader* class_loader, const DexFile& dex_file);
+ void CompileMethod(uint32_t access_flags, uint32_t method_idx, const ClassLoader* class_loader,
+ const DexFile& dex_file);
// After compiling, walk all the DexCaches and set the code and
// method pointers of CodeAndDirectMethods entries in the DexCaches.