diff options
| author | Masaki Muranaka <[email protected]> | 2013-03-15 15:56:23 +0900 |
|---|---|---|
| committer | Masaki Muranaka <[email protected]> | 2013-03-15 15:56:23 +0900 |
| commit | 5f992f8712f8f819c85f1851813c8248f4398241 (patch) | |
| tree | 21cf796a07a6396328a4e6c9a569c88392c0d328 | |
| parent | 0739960b7fab2ce61bbeaedef7680cd4805a03f4 (diff) | |
| download | mruby-5f992f8712f8f819c85f1851813c8248f4398241.tar.gz mruby-5f992f8712f8f819c85f1851813c8248f4398241.zip | |
Remove bit-fields. They doesn't reduce memory on major environments.
| -rw-r--r-- | include/mruby/irep.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mruby/irep.h b/include/mruby/irep.h index 100afb494..fe732a43a 100644 --- a/include/mruby/irep.h +++ b/include/mruby/irep.h @@ -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; |
