summaryrefslogtreecommitdiff
path: root/vm.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-02 16:26:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-02 16:26:04 +0000
commit205f310c2963edec5fabebdce6aaae076d8af5fb (patch)
tree976bf46e69ecae65480e30ccb403a60ae0ef9564 /vm.h
parentd08112a656c4715d509f2b2ac7e1e2199068eed6 (diff)
* call_cfunc.ci, compile.c, compile.h, debug.h, eval.c,
eval_error.h, eval_jump.h, eval_load.c, eval_thread.c, gc.c, insnhelper.h, insns.def, iseq.c, main.c, numeric.c, parse.y, range.c, regenc.h, ruby.h, signal.c, thread.c, thread_win32.ci, vm.c, vm.h, vm_dump.c, vm_evalbody.ci, yarvcore.c, yarvcore.h: fixed indents and non-C90 comments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.h')
-rw-r--r--vm.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/vm.h b/vm.h
index 942a1c4cb5..5c8a3097f1 100644
--- a/vm.h
+++ b/vm.h
@@ -35,16 +35,11 @@ typedef long OFFSET;
* 10: gc check
*/
-//#define VMDEBUG 1
-//#define VMDEBUG 5
-
#if 0
#undef VMDEBUG
#define VMDEBUG 3
#endif
-// #define COLLECT_USAGE_ANALYSIS
-
#ifdef COLLECT_USAGE_ANALYSIS
#define USAGE_ANALYSIS_INSN(insn) vm_analysis_insn(insn)
#define USAGE_ANALYSIS_OPERAND(insn, n, op) vm_analysis_operand(insn, n, (VALUE)op)
@@ -84,7 +79,7 @@ typedef long OFFSET;
#endif
#define throwdebug if(0)printf
-//#define throwdebug printf
+/* #define throwdebug printf */
#define SDR2(cfp) vm_stack_dump_raw(GET_THREAD(), (cfp))
@@ -287,4 +282,4 @@ default: \
#define BOP_LENGTH 0x800
#define BOP_SUCC 0x1000
-#endif // _VM_H_INCLUDED_
+#endif /* _VM_H_INCLUDED_ */