From 6691e72eb8ca4d4741699ae1999d2dad92d82260 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Wed, 22 Jun 2011 21:18:23 +0200 Subject: [PATCH] Fix assertion. --- src/lj_asm_x86.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h index da818c68..141957c7 100644 --- a/src/lj_asm_x86.h +++ b/src/lj_asm_x86.h @@ -191,7 +191,8 @@ static void asm_fuseahuref(ASMState *as, IRRef ref, RegSet allow) } break; default: - lua_assert(ir->o == IR_HREF || ir->o == IR_NEWREF || ir->o == IR_UREFO); + lua_assert(ir->o == IR_HREF || ir->o == IR_NEWREF || ir->o == IR_UREFO || + ir->o == IR_KKPTR); break; } }