- Calling the class loader
- Running the main method
- $Id: main.c 1549 2004-11-19 13:17:33Z twisti $
+ $Id: main.c 1590 2004-11-25 13:24:49Z christian $
*/
void **stackbottom = 0;
#endif
-
/* define command line options ************************************************/
#define OPT_CLASSPATH 2
#define OPT_LIBERALUTF 31
#define OPT_VERBOSEEXCEPTION 32
#define OPT_EAGER 33
+#define OPT_LSRA 34
opt_struct opts[] = {
{"rt", false, OPT_RT},
{"xta", false, OPT_XTA},
{"vta", false, OPT_VTA},
+ {"lsra", false, OPT_LSRA},
{NULL, false, 0}
};
printf(" -rt .................. use rapid type analysis\n");
printf(" -xta ................. use x type analysis\n");
printf(" -vta ................. use variable type analysis\n");
+ printf(" -lsra ................ use linear scan register allocation\n");
/* exit with error code */
/***opt_vta = true; not yet **/
break;
+ case OPT_LSRA:
+#if defined(__I386__) || defined(__ALPHA__)
+ opt_lsra = true;
+#else
+ printf("LSRA not available for this architecture\n");
+ opt_lsra = false;
+#endif
+ break;
+
default:
usage();
}