Remove lv_len and use nlocals - 1 instead.

Check that `lv`'s length is always `nlocals - 1`.
This commit is contained in:
take_cheeze
2014-04-29 22:06:59 +09:00
parent 7ea82fedd5
commit 5073d14e28
5 changed files with 12 additions and 20 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ typedef struct mrb_irep {
uint16_t *lines;
struct mrb_irep_debug_info* debug_info;
size_t ilen, plen, slen, rlen, lv_len, refcnt;
size_t ilen, plen, slen, rlen, refcnt;
} mrb_irep;
#define MRB_ISEQ_NO_FREE 1