Reduce size of mrb_callinfo by rearranging members.

From 48 bytes to 40 bytes on 64 bit platforms (unchanged on 32 bit).
This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-01-21 21:11:32 +09:00
parent 33deeae9eb
commit c5c156a6dd
+2 -2
View File
@@ -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;