ruby-changes:50082
From: k0kubun <ko1@a...>
Date: Sun, 4 Feb 2018 22:15:32 +0900 (JST)
Subject: [ruby-changes:50082] k0kubun:r62200 (trunk): vm.c: feedback control frame size change
k0kubun 2018-02-04 22:15:28 +0900 (Sun, 04 Feb 2018) New Revision: 62200 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62200 Log: vm.c: feedback control frame size change to VM_ASSERT. r62197 is adding bp. I'll try to remove bp, but let's pass CI which enables assertion. Modified files: trunk/vm.c Index: vm.c =================================================================== --- vm.c (revision 62199) +++ vm.c (revision 62200) @@ -157,7 +157,7 @@ VM_CAPTURED_BLOCK_TO_CFP(const struct rb https://github.com/ruby/ruby/blob/trunk/vm.c#L157 { rb_control_frame_t *cfp = ((rb_control_frame_t *)((VALUE *)(captured) - 3)); VM_ASSERT(!VM_CFP_IN_HEAP_P(GET_EC(), cfp)); - VM_ASSERT(sizeof(rb_control_frame_t)/sizeof(VALUE) == 6 + VM_DEBUG_BP_CHECK ? 1 : 0); + VM_ASSERT(sizeof(rb_control_frame_t)/sizeof(VALUE) == 7 + VM_DEBUG_BP_CHECK ? 1 : 0); return cfp; } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/