Commit 618d7339 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #1010 from monaka/pr-remove-meaningless-bitfields-in-irep

Remove bit-fields. They doesn't reduce memory on major environments.
parents 8d98b845 5f992f87
...@@ -12,10 +12,10 @@ extern "C" { ...@@ -12,10 +12,10 @@ extern "C" {
#endif #endif
typedef struct mrb_irep { typedef struct mrb_irep {
int idx:16; uint16_t idx;
int nlocals:16; uint16_t nlocals;
int nregs:16; uint16_t nregs;
int flags:8; uint8_t flags;
mrb_code *iseq; mrb_code *iseq;
mrb_value *pool; mrb_value *pool;
......
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