diff options
author | Elliott Hughes <enh@google.com> | 2010-09-14 17:42:07 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2010-09-17 14:07:06 -0700 |
commit | fe700260881c8f59ee2f2dc2308aef3b0cc39734 (patch) | |
tree | 681ea274af706358dfb3f406adc30f461220d784 /vm/InlineNative.h | |
parent | c8212f1e2dfb44b42a5422a9b0027651fc8bc92b (diff) | |
download | android_dalvik-fe700260881c8f59ee2f2dc2308aef3b0cc39734.tar.gz android_dalvik-fe700260881c8f59ee2f2dc2308aef3b0cc39734.tar.bz2 android_dalvik-fe700260881c8f59ee2f2dc2308aef3b0cc39734.zip |
Check at startup that we can resolve all the inline natives.
Also fix a bug where we'd dereference NULL if an inline native's class failed
to resolve.
Also merge this method lookup with Optimize.c's (superior) near-duplicate.
Change-Id: Ic7a95e1f7445b6c9964ddd5e2e1d14d70792a622
Diffstat (limited to 'vm/InlineNative.h')
-rw-r--r-- | vm/InlineNative.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vm/InlineNative.h b/vm/InlineNative.h index a54d9bdc1..cb31f5184 100644 --- a/vm/InlineNative.h +++ b/vm/InlineNative.h @@ -21,8 +21,12 @@ /* startup/shutdown */ bool dvmInlineNativeStartup(void); +bool dvmInlineNativeCheck(void); void dvmInlineNativeShutdown(void); +Method* dvmFindInlinableMethod(const char* classDescriptor, + const char* methodName, const char* methodSignature); + /* * Basic 4-argument inline operation handler. */ |