diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:03:55 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:03:55 -0800 |
commit | 89c1feb0a69a7707b271086e749975b3f7acacf7 (patch) | |
tree | 003624a03635e05020a47fc72a2c42934e3f0703 /vm/Native.h | |
parent | 2ad60cfc28e14ee8f0bb038720836a4696c478ad (diff) | |
download | android_dalvik-89c1feb0a69a7707b271086e749975b3f7acacf7.tar.gz android_dalvik-89c1feb0a69a7707b271086e749975b3f7acacf7.tar.bz2 android_dalvik-89c1feb0a69a7707b271086e749975b3f7acacf7.zip |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'vm/Native.h')
-rw-r--r-- | vm/Native.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/vm/Native.h b/vm/Native.h index b11a2ea61..5b54fc7cb 100644 --- a/vm/Native.h +++ b/vm/Native.h @@ -53,6 +53,11 @@ void dvmPlatformInvoke(void* pEnv, ClassObject* clazz, int argInfo, int argc, const u4* argv, const char* signature, void* func, JValue* pResult); /* + * Generate hints to speed native calls. This is platform specific. + */ +u4 dvmPlatformInvokeHints(const DexProto* proto); + +/* * Convert a short library name ("jpeg") to a system-dependent name * ("libjpeg.so"). Returns a newly-allocated string. */ @@ -62,17 +67,6 @@ bool dvmLoadNativeCode(const char* fileName, Object* classLoader); /* - * Some setup for internal native functions. - */ -bool dvmInternalNativeStartup(void); -void dvmInternalNativeShutdown(void); - -DalvikNativeFunc dvmLookupInternalNativeMethod(const Method* method); - -/* exception-throwing stub for abstract methods (DalvikNativeFunc) */ -void dvmAbstractMethodStub(const u4* args, JValue* pResult); - -/* * Resolve a native method. This uses the same prototype as a * DalvikBridgeFunc, because it takes the place of the actual function * until the first time that it's invoked. |