[前][次][番号順一覧][スレッド一覧]

ruby-changes:57502

From: Takashi <ko1@a...>
Date: Tue, 3 Sep 2019 01:54:20 +0900 (JST)
Subject: [ruby-changes:57502] a848b62819 (master): Make the rb_vmdebug_debug_print_post declaration

https://git.ruby-lang.org/ruby.git/commit/?id=a848b62819

From a848b62819c78e12c420b1ed29605242e292358b Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Tue, 3 Sep 2019 01:53:47 +0900
Subject: Make the rb_vmdebug_debug_print_post declaration

consistent with the definition

diff --git a/vm_core.h b/vm_core.h
index 4796989..1ebcea7 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -1624,7 +1624,11 @@ VALUE rb_proc_dup(VALUE self); https://github.com/ruby/ruby/blob/trunk/vm_core.h#L1624
 /* 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))
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]