mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user