diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-02 08:11:27 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-02 08:11:27 +0000 |
commit | 156c7e33e11c1c0f571ae706392a5c6efbc7bcd5 (patch) | |
tree | c8b0717023f5ee5c2d08820edd5de0fdb7b0b97c /vm_core.h | |
parent | d3fe5f15963b47fde209dcdda0b9d868fd91f613 (diff) | |
download | ruby-156c7e33e11c1c0f571ae706392a5c6efbc7bcd5.tar.gz |
* iseq.h: introduce ISEQ_FLIP_CNT_INCREMENT() macro.
* compile.c (iseq_compile_each): use it.
* vm_core.h: rename flip_cnt field to support this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -388,7 +388,7 @@ struct rb_iseq_constant_body { struct rb_iseq_variable_body { const VALUE coverage_; /* coverage array */ - rb_num_t flip_cnt; + rb_num_t flip_cnt_; /* original iseq, before encoding * used for debug/dump (TODO: union with compile_data) */ |