diff options
| author | 2011-11-13 20:13:17 -0800 | |
|---|---|---|
| committer | 2011-11-14 09:27:23 -0800 | |
| commit | 169c9a7f46776b235d0a37d5e0ff27682deffe06 (patch) | |
| tree | 9bd38fe9508e827089d546f04b0b42020eef821e /src/jni_compiler.h | |
| parent | 0571d357843c53e042f370f5f2c2e9aa3fe803a9 (diff) | |
Remove the use of Method from jni_compiler
Change-Id: Ibf1c72a806e7f1ba7a2d83960c3d57f41937d336
Diffstat (limited to 'src/jni_compiler.h')
| -rw-r--r-- | src/jni_compiler.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/jni_compiler.h b/src/jni_compiler.h index dbdfa68e3a..f6e8cd444c 100644 --- a/src/jni_compiler.h +++ b/src/jni_compiler.h @@ -6,12 +6,14 @@ #include "compiled_method.h" #include "constants.h" #include "macros.h" -#include "object.h" +#include "thread.h" namespace art { class Assembler; +class ClassLoader; class Compiler; +class DexFile; class JniCallingConvention; class ManagedRegister; class ManagedRuntimeCallingConvention; @@ -25,12 +27,8 @@ class JniCompiler { explicit JniCompiler(InstructionSet instruction_set); ~JniCompiler(); - CompiledMethod* Compile(bool is_direct, uint32_t method_idx, const ClassLoader* class_loader, - const DexFile& dex_file); - - // Stub to perform native method symbol lookup via dlsym - // TODO: remove from JniCompiler - static ByteArray* CreateJniStub(InstructionSet instruction_set); + CompiledMethod* Compile(uint32_t access_flags, uint32_t method_idx, + const ClassLoader* class_loader, const DexFile& dex_file); private: // Copy a single parameter from the managed to the JNI calling convention |