Browse Source

Fix assertion.

Mike Pall 14 years ago
parent
commit
6691e72eb8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/lj_asm_x86.h

+ 2 - 1
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;
     }
   }