Commit 5f992f87 authored by Masaki Muranaka's avatar Masaki Muranaka

Remove bit-fields. They doesn't reduce memory on major environments.

parent 0739960b
...@@ -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