浏览代码

fixed some jit error (close #476)

Nicolas Cannasse 3 年之前
父节点
当前提交
faca9e66ed
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/jit.c

+ 1 - 1
src/jit.c

@@ -3546,7 +3546,7 @@ int hl_jit_function( jit_ctx *ctx, hl_module *m, hl_function *f ) {
 					op64(ctx,TEST,r,r);
 					save_regs(ctx);
 
-					if( o->p3 < 7 ) {
+					if( o->p3 < 6 ) {
 						XJump_small(JNotZero,jhasfield);
 					} else {
 						XJump(JNotZero,jhasfield);