diff options
author | Mike Pall <mike> | 2010-01-09 21:11:35 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2010-01-09 21:11:35 +0100 |
commit | a33204ae5eae25291f003c386ab993278194b96b (patch) | |
tree | c56a9e30ee74f455ae6d9cab8dd366f08946174b /src/lj_asm.c | |
parent | ece20f8ca28f16519a6d4b6a7fc0e5d3e668b314 (diff) | |
download | luajit-a33204ae5eae25291f003c386ab993278194b96b.tar.gz luajit-a33204ae5eae25291f003c386ab993278194b96b.tar.bz2 luajit-a33204ae5eae25291f003c386ab993278194b96b.zip |
Fix 32/64 bit portability issue with upval->v.
Diffstat (limited to 'src/lj_asm.c')
-rw-r--r-- | src/lj_asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c index 21bfa6db..50f877e7 100644 --- a/src/lj_asm.c +++ b/src/lj_asm.c | |||
@@ -1702,7 +1702,7 @@ static void asm_uref(ASMState *as, IRIns *ir) | |||
1702 | Reg dest = ra_dest(as, ir, RSET_GPR); | 1702 | Reg dest = ra_dest(as, ir, RSET_GPR); |
1703 | if (irref_isk(ir->op1)) { | 1703 | if (irref_isk(ir->op1)) { |
1704 | GCfunc *fn = ir_kfunc(IR(ir->op1)); | 1704 | GCfunc *fn = ir_kfunc(IR(ir->op1)); |
1705 | TValue **v = &gcref(fn->l.uvptr[ir->op2])->uv.v; | 1705 | MRef *v = &gcref(fn->l.uvptr[ir->op2])->uv.v; |
1706 | emit_rma(as, XO_MOV, dest, v); | 1706 | emit_rma(as, XO_MOV, dest, v); |
1707 | } else { | 1707 | } else { |
1708 | Reg uv = ra_scratch(as, RSET_GPR); | 1708 | Reg uv = ra_scratch(as, RSET_GPR); |