From 29e90d028705c203239e5f9afc722507117864c1 Mon Sep 17 00:00:00 2001 From: crimsonwoods Date: Fri, 18 Apr 2014 22:04:21 -0700 Subject: [PATCH] Sort out the variables which belongs to 'mrb_callinfo' to improve 'cipush' performance. --- include/mruby.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/mruby.h b/include/mruby.h index af1fc9894..b74b1e466 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -57,14 +57,14 @@ typedef struct { struct RProc *proc; mrb_value *stackent; int nregs; - int argc; - mrb_code *pc; /* return address */ - mrb_code *err; /* error position */ - int acc; - struct RClass *target_class; int ridx; int eidx; struct REnv *env; + mrb_code *pc; /* return address */ + mrb_code *err; /* error position */ + int argc; + int acc; + struct RClass *target_class; } mrb_callinfo; enum mrb_fiber_state {