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

Remove bit-fields. They doesn't reduce memory on major environments.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2013-03-15 07:25:09 -07:00
+4 -4
View File
@@ -12,10 +12,10 @@ extern "C" {
#endif
typedef struct mrb_irep {
int idx:16;
int nlocals:16;
int nregs:16;
int flags:8;
uint16_t idx;
uint16_t nlocals;
uint16_t nregs;
uint8_t flags;
mrb_code *iseq;
mrb_value *pool;