Reduce size of `mrb_callinfo` by rearranging members.

From 48 bytes to 40 bytes on 64 bit platforms (unchanged on 32 bit).
parent 33deeae9
......@@ -150,11 +150,11 @@ typedef void* (*mrb_allocf) (struct mrb_state *mrb, void*, size_t, void *ud);
typedef struct {
mrb_sym mid;
int16_t argc;
int16_t acc;
const struct RProc *proc;
mrb_value *stack;
const mrb_code *pc; /* current address on iseq of this proc */
int16_t argc;
int16_t acc;
union {
struct REnv *env;
struct RClass *target_class;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment