diff options
author | Mike Pall <mike> | 2021-07-19 16:23:12 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2021-07-19 16:23:12 +0200 |
commit | 6df650fe3fa0e06d9645524918a9935e3a282156 (patch) | |
tree | bc3487e71038a93d0f44afb4fd68f92c0553cec0 /src/lj_opt_split.c | |
parent | 71db0cf04357391beb01732af691a4df25298911 (diff) | |
download | luajit-6df650fe3fa0e06d9645524918a9935e3a282156.tar.gz luajit-6df650fe3fa0e06d9645524918a9935e3a282156.tar.bz2 luajit-6df650fe3fa0e06d9645524918a9935e3a282156.zip |
String buffers, part 3a: Add IR_TMPREF for passing TValues to helpers.
Sponsored by fmad.io.
Diffstat (limited to 'src/lj_opt_split.c')
-rw-r--r-- | src/lj_opt_split.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_opt_split.c b/src/lj_opt_split.c index 3a02abd4..25c1c234 100644 --- a/src/lj_opt_split.c +++ b/src/lj_opt_split.c | |||
@@ -645,7 +645,7 @@ static void split_ir(jit_State *J) | |||
645 | tmp = split_emit(J, IRT(IR_CARG, IRT_NIL), hisubst[op1], oir[op1].prev); | 645 | tmp = split_emit(J, IRT(IR_CARG, IRT_NIL), hisubst[op1], oir[op1].prev); |
646 | #endif | 646 | #endif |
647 | ir->prev = split_emit(J, IRTI(IR_CALLN), tmp, IRCALL_lj_vm_tobit); | 647 | ir->prev = split_emit(J, IRTI(IR_CALLN), tmp, IRCALL_lj_vm_tobit); |
648 | } else if (ir->o == IR_TOSTR) { | 648 | } else if (ir->o == IR_TOSTR || ir->o == IR_TMPREF) { |
649 | if (hisubst[ir->op1]) { | 649 | if (hisubst[ir->op1]) { |
650 | if (irref_isk(ir->op1)) | 650 | if (irref_isk(ir->op1)) |
651 | nir->op1 = ir->op1; | 651 | nir->op1 = ir->op1; |