summaryrefslogtreecommitdiffhomepage
path: root/include/mruby.h
diff options
context:
space:
mode:
authorcrimsonwoods <[email protected]>2014-04-18 22:04:21 -0700
committercrimsonwoods <[email protected]>2014-04-18 22:04:21 -0700
commit29e90d028705c203239e5f9afc722507117864c1 (patch)
tree82d783c32ed71e703ca715e24ab3dc1af65a9778 /include/mruby.h
parente4624757524349a3cc6130350aebeefccc5e5816 (diff)
downloadmruby-29e90d028705c203239e5f9afc722507117864c1.tar.gz
mruby-29e90d028705c203239e5f9afc722507117864c1.zip
Sort out the variables which belongs to 'mrb_callinfo' to improve 'cipush' performance.
Diffstat (limited to 'include/mruby.h')
-rw-r--r--include/mruby.h8
1 files changed, 4 insertions, 4 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;
+ 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 {