summaryrefslogtreecommitdiffstats
path: root/vm/Init.h
diff options
context:
space:
mode:
authorDan Bornstein <danfuzz@android.com>2011-03-07 10:30:41 -0800
committerDan Bornstein <danfuzz@android.com>2011-03-07 11:17:51 -0800
commit3111b0c80ca3f90e966371cbab606ac38ed17cad (patch)
treed2771040ab754a93f477579b46f3d7074b02a037 /vm/Init.h
parent6a52d1d4061950c5358b67e180e25e8c55cbdda7 (diff)
downloadandroid_dalvik-3111b0c80ca3f90e966371cbab606ac38ed17cad.tar.gz
android_dalvik-3111b0c80ca3f90e966371cbab606ac38ed17cad.tar.bz2
android_dalvik-3111b0c80ca3f90e966371cbab606ac38ed17cad.zip
Collate more of the low-level class lookups.
I pulled out all the initialization code that I could find that was merely looking up class and member names during early VM initialization, putting them all in a new file, InitRefs.c. I didn't do any real restructuring of the code, though. That will come in a follow-up. This was instigated by discussion surrounding bug #3500987, but it's not directly related to it. Change-Id: I59e93e552d29a5518f2cc4e1e30c4a8d51750d7b
Diffstat (limited to 'vm/Init.h')
-rw-r--r--vm/Init.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/vm/Init.h b/vm/Init.h
index 06b93aff2..60f6bf3a1 100644
--- a/vm/Init.h
+++ b/vm/Init.h
@@ -45,8 +45,10 @@ int dvmPrepForDexOpt(const char* bootClassPath, DexOptimizerMode dexOptMode,
* storing references to them into the globals instance. See
* Globals.h. This function is exposed so that dex optimization may
* call it (while avoiding doing other unnecessary VM initialization).
+ *
+ * The function returns a success flag (true == success).
*/
-int dvmFindRequiredClassesAndMembers(void);
+bool dvmFindRequiredClassesAndMembers(void);
/*
* Replacement for fprintf() when we want to send a message to the console.