summaryrefslogtreecommitdiff
path: root/vm_dump.c
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_dump.c
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_dump.c')
-rw-r--r--vm_dump.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/vm_dump.c b/vm_dump.c
index 698bc0e..692f98b 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -31,7 +31,7 @@ control_frame_dump(yarv_thread_t *th, yarv_control_frame_t *cfp)
VALUE tmp;
if (cfp->block_iseq != 0 && BUILTIN_TYPE(cfp->block_iseq) != T_NODE) {
- biseq_name = ""; //RSTRING(cfp->block_iseq->name)->ptr;
+ biseq_name = ""; /* RSTRING(cfp->block_iseq->name)->ptr; */
}
if (lfp < 0 || lfp > th->stack_size) {
@@ -306,7 +306,7 @@ stack_dump_each(yarv_thread_t *th, yarv_control_frame_t *cfp)
stack_dump_each(th, cfp + 1);
}
else {
- // SDR();
+ /* SDR(); */
}
}
else {
@@ -379,10 +379,10 @@ debug_print_post(yarv_thread_t *th, yarv_control_frame_t *cfp
fprintf(stderr, " (2)");
debug_print_register(th);
#endif
- // stack_dump_raw(th, cfp);
+ /* stack_dump_raw(th, cfp); */
#if VMDEBUG > 2
- // stack_dump_thobj(th);
+ /* stack_dump_thobj(th); */
stack_dump_each(th, th->cfp);
#if OPT_STACK_CACHING
{
@@ -512,13 +512,13 @@ vm_analysis_register(int reg, int isset)
VALUE rhash;
VALUE valstr;
char *regstrs[] = {
- "pc", // 0
- "sp", // 1
- "cfp", // 2
- "lfp", // 3
- "dfp", // 4
- "self", // 5
- "iseq", // 6
+ "pc", /* 0 */
+ "sp", /* 1 */
+ "cfp", /* 2 */
+ "lfp", /* 3 */
+ "dfp", /* 4 */
+ "self", /* 5 */
+ "iseq", /* 6 */
};
char *getsetstr[] = {
"get",