diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-25 01:34:33 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-25 01:34:33 +0000 |
commit | 71986ef6bc232455deca67017873fff0c3cbd860 (patch) | |
tree | 17e911455026648c655301e248364e2b84a46bd1 /yarvcore.h | |
parent | 9c9b619799aea31eb2505749386ed3a530246bbb (diff) | |
download | ruby-71986ef6bc232455deca67017873fff0c3cbd860.tar.gz |
* yarvcore.h:
rename:
rb_iseq_t#file_name -> filename
rb_iseq_t#local_tbl -> local_table
add:
rb_iseq_t#local_table_size
* compile.c: separate local_table_size and local_size
(local variable size)
* blockinlining.c: apply above rename.
* compile.h: ditto.
* eval.c: ditto.
* iseq.c: ditto.
* proc.c: ditto.
* vm.c: ditto.
* vm_dump.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'yarvcore.h')
-rw-r--r-- | yarvcore.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/yarvcore.h b/yarvcore.h index f755e21790..dc1963ab62 100644 --- a/yarvcore.h +++ b/yarvcore.h @@ -240,9 +240,12 @@ struct rb_iseq_struct { unsigned int insn_info_size; /* file information where this sequence from */ - VALUE file_name; + VALUE filename; - ID *local_tbl; /* must free */ + ID *local_table; /* must free */ + int local_table_size; + + /* method, class frame: sizeof(vars) + 1, block frame: sizeof(vars) */ int local_size; /* jit compiled or not */ |