- Calling the class loader
- Running the main method
- $Id: main.c 771 2003-12-13 23:11:08Z stefan $
+ $Id: main.c 800 2003-12-16 22:47:59Z edwin $
*/
bool getloadingtime = false; /* to measure the runtime */
s8 loadingtime = 0;
+bool opt_verify = true; /* true if classfiles should be verified */
+
static classinfo *topclass;
#define OPT_XTA 27
#define OPT_VTA 28
#define OPT_VERBOSETC 29
+#define OPT_NOVERIFY 30
struct {char *name; bool arg; int value;} opts[] = {
{"ms", true, OPT_MS},
{"mx", true, OPT_MX},
{"noasyncgc", false, OPT_IGNORE},
- {"noverify", false, OPT_IGNORE},
+ {"noverify", false, OPT_NOVERIFY},
{"oss", true, OPT_IGNORE},
{"ss", true, OPT_IGNORE},
{"v", false, OPT_VERBOSE1},
#if defined(__ALPHA__)
printf(" -noieee .............. don't use ieee compliant arithmetic\n");
#endif
+ printf(" -noverify ............ don't verify classfiles\n");
printf(" -softnull ............ use software nullpointer check\n");
printf(" -time ................ measure the runtime\n");
printf(" -stat ................ detailed compiler statistics\n");
opt_noieee = true;
break;
+ case OPT_NOVERIFY:
+ opt_verify = false;
+ break;
+
case OPT_SOFTNULL:
checknull = true;
break;