mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user