diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-02 08:20:35 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-02 08:20:35 +0000 |
commit | cfd1157f1123998bde7b93212bdb111a65b82414 (patch) | |
tree | 418f1f7d9a8652ed71e1ffbef0afbb59281111a3 /vm_core.h | |
parent | a9c0cf4ff06ecbda16b1fcf9d16cb252becd9453 (diff) | |
download | ruby-cfd1157f1123998bde7b93212bdb111a65b82414.tar.gz |
* iseq.h: introduce ISEQ_ORIGINAL_ISEQ() and
ISEQ_ORIGINAL_ISEQ_ALLOC() macro.
* compile.c: use them to access original iseq buffer.
* iseq.c: ditto.
* vm_core.h: rename iseq field to support this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52862 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
@@ -392,7 +392,7 @@ struct rb_iseq_variable_body { /* original iseq, before encoding * used for debug/dump (TODO: union with compile_data) */ - VALUE *iseq; + VALUE *iseq_; }; /* T_IMEMO/iseq */ |