Change the type of `rlen` to `uint8_t` in `mrb_irep`.

parent 8a5dfa92
...@@ -71,7 +71,8 @@ typedef struct mrb_irep { ...@@ -71,7 +71,8 @@ typedef struct mrb_irep {
/* debug info */ /* debug info */
struct mrb_irep_debug_info* debug_info; struct mrb_irep_debug_info* debug_info;
uint16_t ilen, plen, slen, rlen; uint16_t ilen, plen, slen;
uint8_t rlen;
uint32_t refcnt; uint32_t refcnt;
} mrb_irep; } mrb_irep;
...@@ -119,7 +120,7 @@ struct mrb_insn_data { ...@@ -119,7 +120,7 @@ struct mrb_insn_data {
uint8_t insn; uint8_t insn;
uint16_t a; uint16_t a;
uint16_t b; uint16_t b;
uint8_t c; uint16_t c;
}; };
struct mrb_insn_data mrb_decode_insn(const mrb_code *pc); struct mrb_insn_data mrb_decode_insn(const mrb_code *pc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment