From 3111b0c80ca3f90e966371cbab606ac38ed17cad Mon Sep 17 00:00:00 2001 From: Dan Bornstein Date: Mon, 7 Mar 2011 10:30:41 -0800 Subject: 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 --- vm/Init.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vm/Init.h') 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. -- cgit v1.2.3