diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-13 12:44:17 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-13 12:44:17 +0000 |
commit | 7ad9975fe7e8e22de841b26ed549652326d08c65 (patch) | |
tree | 673600ac2e387fb3164c8480164d5a4a70f776a0 /compile.c | |
parent | 879df66d96ea7d822de2ea06602a1bba0ee5cb52 (diff) | |
download | ruby-7ad9975fe7e8e22de841b26ed549652326d08c65.tar.gz |
iseq.h (struct iseq_catch_table_entry, iseq_compile_data_storage): Use FLEX_ARY_LEN
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -868,7 +868,7 @@ compile_data_alloc(rb_iseq_t *iseq, size_t size) alloc_size *= 2; } storage->next = (void *)ALLOC_N(char, alloc_size + - SIZEOF_ISEQ_COMPILE_DATA_STORAGE); + sizeof(struct iseq_compile_data_storage)); storage = ISEQ_COMPILE_DATA(iseq)->storage_current = storage->next; storage->next = 0; storage->pos = 0; |