Authors: Dieter Thuernbeck
- $Id: inline.c 1506 2004-11-14 14:48:49Z jowenn $
+ $Id: inline.c 1546 2004-11-18 12:25:04Z twisti $
*/
inline_env->cummethods++;
- if (verbose) {
+ if (opt_verbose) {
char logtext[MAXLOGTEXT];
sprintf(logtext, "Going to inline: ");
utf_sprint(logtext +strlen(logtext), imi->class->name);
Changes: Carolyn Oates
Edwin Steiner
- $Id: parse.c 1506 2004-11-14 14:48:49Z jowenn $
+ $Id: parse.c 1546 2004-11-18 12:25:04Z twisti $
*/
}
if (opt_rt) {
if (m->methodUsed != USED) {
- if (verbose) {
+ if (opt_verbose) {
printf(" rta missed: "); fflush(stdout);
METHINFO(m);
}
which has to be called before parse (or ???)
will check if method being parsed was analysed here
****/
- if ((opt_xta) && (verbose)) {
+ if (opt_xta && opt_verbose) {
/**RT_jit_parse(m);**/
printf("XTA requested, not available\n");
}
- if ((opt_vta) && (verbose))
+ if (opt_vta && opt_verbose)
printf("VTA requested, not yet implemented\n");
/* allocate instruction array and block index table */
Authors: Carolyn Oates
- $Id: parseRT.c 1508 2004-11-15 08:34:10Z carolyn $
+ $Id: parseRT.c 1546 2004-11-18 12:25:04Z twisti $
Changes:
opcode put into functions
firstCall = false; /* turn flag off */
/*----- RTA initializations --------*/
- if (verbose)
+ if (opt_verbose)
log_text("RTA static analysis started.\n");
mainmeth = initializeRTAworklist(m);
}
}
fclose(rtMissed);
- if (verbose) {
+ if (opt_verbose) {
if (opt_stat) {
printRThierarchyInfo(m);
}
printCallgraph(rtaWorkList);
}
- if (verbose) {
+ if (opt_verbose) {
log_text("RTA static analysis done.\n");
}
}
The .hh files created with the header file generator are all
included here as are the C functions implementing these methods.
- $Id: native.c 1512 2004-11-17 11:45:31Z twisti $
+ $Id: native.c 1546 2004-11-18 12:25:04Z twisti $
*/
utf_new_char("()V"));
if (!m) { /* initializer not found */
- if (verbose) {
+ if (opt_verbose) {
char logtext[MAXLOGTEXT];
sprintf(logtext, "Warning: class has no instance-initializer: ");
utf_sprint_classname(logtext + strlen(logtext), c->name);
utf_new_char("(Ljava/lang/String;)V"));
if (!m) { /* initializer not found */
- if (verbose) {
+ if (opt_verbose) {
char logtext[MAXLOGTEXT];
sprintf(logtext, "Warning: class has no instance-initializer: ");
utf_sprint_classname(logtext + strlen(logtext), c->name);
utf_new_char("(I)V"));
if (!m) { /* initializer not found */
- if (verbose) {
+ if (opt_verbose) {
char logtext[MAXLOGTEXT];
sprintf(logtext, "Warning: class has no instance-initializer: ");
utf_sprint_classname(logtext + strlen(logtext), c->name);
utf_new_char("(Ljava/lang/Throwable;)V"));
if (!m) { /* initializer not found */
- if (verbose) {
+ if (opt_verbose) {
char logtext[MAXLOGTEXT];
sprintf(logtext, "Warning: class has no instance-initializer: ");
utf_sprint_classname(logtext + strlen(logtext), c->name);
Authors: Christian Thalinger
- $Id: options.c 1529 2004-11-17 17:19:14Z twisti $
+ $Id: options.c 1546 2004-11-18 12:25:04Z twisti $
*/
/* command line option */
-bool verbose = false;
+bool opt_verbose = false;
bool compileall = false;
bool runverbose = false; /* trace all method invocation */
bool verboseexception = false;
Authors: Christian Thalinger
- $Id: options.h 1529 2004-11-17 17:19:14Z twisti $
+ $Id: options.h 1546 2004-11-18 12:25:04Z twisti $
*/
/* global variables ***********************************************************/
+extern bool opt_verbose;
extern bool compileall;
-extern bool verbose;
extern bool runverbose;
extern bool verboseexception;
extern bool collectverbose;
The .hh files created with the header file generator are all
included here as are the C functions implementing these methods.
- $Id: native.c 1512 2004-11-17 11:45:31Z twisti $
+ $Id: native.c 1546 2004-11-18 12:25:04Z twisti $
*/
utf_new_char("()V"));
if (!m) { /* initializer not found */
- if (verbose) {
+ if (opt_verbose) {
char logtext[MAXLOGTEXT];
sprintf(logtext, "Warning: class has no instance-initializer: ");
utf_sprint_classname(logtext + strlen(logtext), c->name);
utf_new_char("(Ljava/lang/String;)V"));
if (!m) { /* initializer not found */
- if (verbose) {
+ if (opt_verbose) {
char logtext[MAXLOGTEXT];
sprintf(logtext, "Warning: class has no instance-initializer: ");
utf_sprint_classname(logtext + strlen(logtext), c->name);
utf_new_char("(I)V"));
if (!m) { /* initializer not found */
- if (verbose) {
+ if (opt_verbose) {
char logtext[MAXLOGTEXT];
sprintf(logtext, "Warning: class has no instance-initializer: ");
utf_sprint_classname(logtext + strlen(logtext), c->name);
utf_new_char("(Ljava/lang/Throwable;)V"));
if (!m) { /* initializer not found */
- if (verbose) {
+ if (opt_verbose) {
char logtext[MAXLOGTEXT];
sprintf(logtext, "Warning: class has no instance-initializer: ");
utf_sprint_classname(logtext + strlen(logtext), c->name);
Authors: Dieter Thuernbeck
- $Id: inline.c 1506 2004-11-14 14:48:49Z jowenn $
+ $Id: inline.c 1546 2004-11-18 12:25:04Z twisti $
*/
inline_env->cummethods++;
- if (verbose) {
+ if (opt_verbose) {
char logtext[MAXLOGTEXT];
sprintf(logtext, "Going to inline: ");
utf_sprint(logtext +strlen(logtext), imi->class->name);
Authors: Carolyn Oates
- $Id: parseRT.c 1508 2004-11-15 08:34:10Z carolyn $
+ $Id: parseRT.c 1546 2004-11-18 12:25:04Z twisti $
Changes:
opcode put into functions
firstCall = false; /* turn flag off */
/*----- RTA initializations --------*/
- if (verbose)
+ if (opt_verbose)
log_text("RTA static analysis started.\n");
mainmeth = initializeRTAworklist(m);
}
}
fclose(rtMissed);
- if (verbose) {
+ if (opt_verbose) {
if (opt_stat) {
printRThierarchyInfo(m);
}
printCallgraph(rtaWorkList);
}
- if (verbose) {
+ if (opt_verbose) {
log_text("RTA static analysis done.\n");
}
}
Changes: Carolyn Oates
Edwin Steiner
- $Id: parse.c 1506 2004-11-14 14:48:49Z jowenn $
+ $Id: parse.c 1546 2004-11-18 12:25:04Z twisti $
*/
}
if (opt_rt) {
if (m->methodUsed != USED) {
- if (verbose) {
+ if (opt_verbose) {
printf(" rta missed: "); fflush(stdout);
METHINFO(m);
}
which has to be called before parse (or ???)
will check if method being parsed was analysed here
****/
- if ((opt_xta) && (verbose)) {
+ if (opt_xta && opt_verbose) {
/**RT_jit_parse(m);**/
printf("XTA requested, not available\n");
}
- if ((opt_vta) && (verbose))
+ if (opt_vta && opt_verbose)
printf("VTA requested, not yet implemented\n");
/* allocate instruction array and block index table */
Authors: Christian Thalinger
- $Id: options.c 1529 2004-11-17 17:19:14Z twisti $
+ $Id: options.c 1546 2004-11-18 12:25:04Z twisti $
*/
/* command line option */
-bool verbose = false;
+bool opt_verbose = false;
bool compileall = false;
bool runverbose = false; /* trace all method invocation */
bool verboseexception = false;
Authors: Christian Thalinger
- $Id: options.h 1529 2004-11-17 17:19:14Z twisti $
+ $Id: options.h 1546 2004-11-18 12:25:04Z twisti $
*/
/* global variables ***********************************************************/
+extern bool opt_verbose;
extern bool compileall;
-extern bool verbose;
extern bool runverbose;
extern bool verboseexception;
extern bool collectverbose;