Turn TValue setter macros into inline functions.

This commit is contained in:
Mike Pall
2010-04-26 00:28:44 +02:00
parent 41379126a2
commit 28cfccf748
5 changed files with 127 additions and 118 deletions

View File

@@ -379,7 +379,7 @@ void lj_ir_kvalue(lua_State *L, TValue *tv, const IRIns *ir)
} else {
if (ir->o == IR_KGC) {
lua_assert(irt_isgcv(ir->t));
setgcV(L, tv, &ir_kgc(ir)->gch, irt_toitype(ir->t));
setgcV(L, tv, ir_kgc(ir), irt_toitype(ir->t));
} else {
lua_assert(ir->o == IR_KPTR || ir->o == IR_KNULL);
setlightudV(tv, mref(ir->ptr, void));