From 29e90d028705c203239e5f9afc722507117864c1 Mon Sep 17 00:00:00 2001 From: crimsonwoods Date: Fri, 18 Apr 2014 22:04:21 -0700 Subject: Sort out the variables which belongs to 'mrb_callinfo' to improve 'cipush' performance. --- include/mruby.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') 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; + 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; - int ridx; - int eidx; - struct REnv *env; } mrb_callinfo; enum mrb_fiber_state { -- cgit v1.2.3