Remove the use of Method from jni_compiler

Change-Id: Ibf1c72a806e7f1ba7a2d83960c3d57f41937d336
diff --git a/src/compiler.h b/src/compiler.h
index f29fbbc..18079644 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -54,6 +54,8 @@
   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 @@
   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.