aboutsummaryrefslogtreecommitdiff
path: root/src/lj_ir.c
diff options
context:
space:
mode:
authorMike Pall <mike>2014-12-20 00:59:16 +0100
committerMike Pall <mike>2014-12-20 01:48:00 +0100
commit5cb6e2eaaf860045daa30208b21ae6aa88a0503c (patch)
treeb0b4c4edfc1a9a0c3f51efbd3c36580447eaa509 /src/lj_ir.c
parent6e9145a882ea70fe438d59959ac4e65481fe5e85 (diff)
downloadluajit-5cb6e2eaaf860045daa30208b21ae6aa88a0503c.tar.gz
luajit-5cb6e2eaaf860045daa30208b21ae6aa88a0503c.tar.bz2
luajit-5cb6e2eaaf860045daa30208b21ae6aa88a0503c.zip
Cleanup of TValue setters. No functional changes.
Diffstat (limited to 'src/lj_ir.c')
-rw-r--r--src/lj_ir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_ir.c b/src/lj_ir.c
index 2eabdb4b..0689bc22 100644
--- a/src/lj_ir.c
+++ b/src/lj_ir.c
@@ -392,7 +392,7 @@ void lj_ir_kvalue(lua_State *L, TValue *tv, const IRIns *ir)
392 UNUSED(L); 392 UNUSED(L);
393 lua_assert(ir->o != IR_KSLOT); /* Common mistake. */ 393 lua_assert(ir->o != IR_KSLOT); /* Common mistake. */
394 switch (ir->o) { 394 switch (ir->o) {
395 case IR_KPRI: setitype(tv, irt_toitype(ir->t)); break; 395 case IR_KPRI: setpriV(tv, irt_toitype(ir->t)); break;
396 case IR_KINT: setintV(tv, ir->i); break; 396 case IR_KINT: setintV(tv, ir->i); break;
397 case IR_KGC: setgcV(L, tv, ir_kgc(ir), irt_toitype(ir->t)); break; 397 case IR_KGC: setgcV(L, tv, ir_kgc(ir), irt_toitype(ir->t)); break;
398 case IR_KPTR: case IR_KKPTR: case IR_KNULL: 398 case IR_KPTR: case IR_KKPTR: case IR_KNULL: