String buffers, part 3a: Add IR_TMPREF for passing TValues to helpers.
Sponsored by fmad.io.
This commit is contained in:
@@ -645,7 +645,7 @@ static void split_ir(jit_State *J)
|
||||
tmp = split_emit(J, IRT(IR_CARG, IRT_NIL), hisubst[op1], oir[op1].prev);
|
||||
#endif
|
||||
ir->prev = split_emit(J, IRTI(IR_CALLN), tmp, IRCALL_lj_vm_tobit);
|
||||
} else if (ir->o == IR_TOSTR) {
|
||||
} else if (ir->o == IR_TOSTR || ir->o == IR_TMPREF) {
|
||||
if (hisubst[ir->op1]) {
|
||||
if (irref_isk(ir->op1))
|
||||
nir->op1 = ir->op1;
|
||||
|
||||
Reference in New Issue
Block a user