summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-12 19:12:55 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-12 19:12:55 +0000
commit452eafbd5459547e02c10974399fb192634e2c26 (patch)
tree6290c2ba5a0ed6020e82136bd55d5dcdd4e92e00
parent57c26d994b482aacf3c125da029efb919be82ff3 (diff)
downloadruby-452eafbd5459547e02c10974399fb192634e2c26.tar.gz
ruby-452eafbd5459547e02c10974399fb192634e2c26.tar.xz
ruby-452eafbd5459547e02c10974399fb192634e2c26.zip
insnhelper.ci: missed at last commit.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--insnhelper.ci8
1 files changed, 8 insertions, 0 deletions
diff --git a/insnhelper.ci b/insnhelper.ci
index 952af15af..1fda1e82f 100644
--- a/insnhelper.ci
+++ b/insnhelper.ci
@@ -60,6 +60,10 @@ vm_push_frame(rb_thread_t *th, rb_iseq_t *iseq, VALUE type,
cfp->prof_time_chld = 0;
#endif
+ if (VMDEBUG == 2) {
+ SDR();
+ }
+
return cfp;
}
@@ -84,6 +88,10 @@ vm_pop_frame(rb_thread_t *th)
}
#endif
th->cfp = RUBY_VM_PREVIOUS_CONTROL_FRAME(th->cfp);
+
+ if (VMDEBUG == 2) {
+ SDR();
+ }
}
/* method dispatch */