summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-09-03 01:53:47 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-09-03 01:53:49 +0900
commita848b62819c78e12c420b1ed29605242e292358b (patch)
tree3c540e41ae9aa4bc045d1dcf7b38df240a183eb5 /vm_core.h
parent1a5a01e9ce9bf69944e4e37a33c8b044657a200a (diff)
Make the rb_vmdebug_debug_print_post declaration
consistent with the definition
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/vm_core.h b/vm_core.h
index 479698932e..1ebcea7a2d 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -1624,7 +1624,11 @@ VALUE rb_proc_dup(VALUE self);
/* for debug */
extern void rb_vmdebug_stack_dump_raw(const rb_execution_context_t *ec, const rb_control_frame_t *cfp);
extern void rb_vmdebug_debug_print_pre(const rb_execution_context_t *ec, const rb_control_frame_t *cfp, const VALUE *_pc);
-extern void rb_vmdebug_debug_print_post(const rb_execution_context_t *ec, const rb_control_frame_t *cfp);
+extern void rb_vmdebug_debug_print_post(const rb_execution_context_t *ec, const rb_control_frame_t *cfp
+#if OPT_STACK_CACHING
+ , VALUE reg_a, VALUE reg_b
+#endif
+);
#define SDR() rb_vmdebug_stack_dump_raw(GET_EC(), GET_EC()->cfp)
#define SDR2(cfp) rb_vmdebug_stack_dump_raw(GET_EC(), (cfp))