mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Reduce size of ctx_t
This commit is contained in:
parent
a14015e9b5
commit
81c57ab9b8
2 changed files with 5 additions and 5 deletions
|
@ -570,9 +570,9 @@ gen_opt_lt(jitstate_t* jit, ctx_t* ctx)
|
|||
}
|
||||
|
||||
// Compare the arguments
|
||||
mov(cb, REG0, arg0);
|
||||
cmp(cb, REG0, arg1);
|
||||
mov(cb, REG0, imm_opnd(Qfalse));
|
||||
xor(cb, REG0_32, REG0_32); // REG0 = Qfalse
|
||||
mov(cb, REG1, arg0);
|
||||
cmp(cb, REG1, arg1);
|
||||
mov(cb, REG1, imm_opnd(Qtrue));
|
||||
cmovl(cb, REG0, REG1);
|
||||
|
||||
|
|
|
@ -35,10 +35,10 @@ typedef struct CtxStruct
|
|||
uint8_t temp_types[MAX_TEMP_TYPES];
|
||||
|
||||
// Number of values pushed on the temporary stack
|
||||
uint32_t stack_size;
|
||||
uint16_t stack_size;
|
||||
|
||||
// Whether we know self is a heap object
|
||||
bool self_is_object;
|
||||
bool self_is_object : 1;
|
||||
|
||||
} ctx_t;
|
||||
|
||||
|
|
Loading…
Reference in a new issue