Changes:
- $Id: options.c 5842 2006-10-27 10:41:02Z twisti $
+ $Id: options.c 5922 2006-11-05 21:43:09Z twisti $
*/
bool compileverbose = false; /* trace compiler actions */
bool showstack = false;
-bool opt_showdisassemble = false; /* generate disassembler listing */
-bool opt_showddatasegment = false; /* generate data segment listing */
-bool opt_showintermediate = false; /* generate intermediate code listing */
+
+bool opt_showdisassemble = false; /* generate disassembler listing */
+bool opt_shownops = false;
+bool opt_showddatasegment = false; /* generate data segment listing */
+bool opt_showintermediate = false; /* generate intermediate code listing */
bool opt_showexceptionstubs = false;
-bool opt_shownativestub = false;
+bool opt_shownativestub = false;
bool useinlining = false; /* use method inlining */
bool inlinevirtuals = false; /* inline unique virtual methods */
Changes:
- $Id: options.h 5842 2006-10-27 10:41:02Z twisti $
+ $Id: options.h 5922 2006-11-05 21:43:09Z twisti $
*/
extern bool compileverbose;
extern bool showstack;
+
extern bool opt_showdisassemble;
+extern bool opt_shownops;
extern bool opt_showddatasegment;
extern bool opt_showintermediate;
extern bool opt_showexceptionstubs;
Contact: cacao@cacaojvm.org
Authors: Christian Thalinger
-
- Changes: Martin Platter
+ Martin Platter
$Id: vm.c 4357 2006-01-22 23:33:38Z twisti $
#include "vm/jit/optimizing/recompile.h"
#if defined(ENABLE_JVMTI)
-#include "native/jvmti/cacaodbg.h"
+# include "native/jvmti/cacaodbg.h"
#endif
puts(" -sig specify signature for a specific method");
#endif
- puts(" -s(how)... show...");
- puts(" c(onstants) the constant pool");
- puts(" m(ethods) class fields and methods");
- puts(" u(tf) the utf - hash");
- puts(" i(ntermediate) intermediate representation");
+ puts(" -s... show...");
+ puts(" (c)onstants the constant pool");
+ puts(" (m)ethods class fields and methods");
+ puts(" (u)tf the utf - hash");
+ puts(" (i)ntermediate intermediate representation");
#if defined(ENABLE_DISASSEMBLER)
- puts(" a(ssembler) disassembled listing");
- puts(" e(xceptionstubs) disassembled exception stubs (only with -sa)");
- puts(" n(ative) disassembled native stubs");
+ puts(" (a)ssembler disassembled listing");
+ puts(" n(o)ps show NOPs in disassembler output");
+ puts(" (e)xceptionstubs disassembled exception stubs (only with -sa)");
+ puts(" (n)ative disassembled native stubs");
#endif
- puts(" d(atasegment) data segment listing");
+ puts(" (d)atasegment data segment listing");
#if defined(ENABLE_INLINING)
puts(" -i n(line) activate inlining");
puts(" v(irtual) inline virtual methods (uses/turns rt option on)");
compileverbose = true;
break;
+ case 'o':
+ opt_shownops = true;
+ break;
+
case 'e':
opt_showexceptionstubs = true;
break;