From 5f992f8712f8f819c85f1851813c8248f4398241 Mon Sep 17 00:00:00 2001 From: Masaki Muranaka Date: Fri, 15 Mar 2013 15:56:23 +0900 Subject: Remove bit-fields. They doesn't reduce memory on major environments. --- include/mruby/irep.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') 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; -- cgit v1.2.3