Browse Source

fixed HVirtual comparison

Nicolas Cannasse 9 năm trước cách đây
mục cha
commit
f6101c7e0f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/jit.c

+ 1 - 1
src/jit.c

@@ -1835,7 +1835,7 @@ static void op_jump( jit_ctx *ctx, vreg *a, vreg *b, hl_opcode *op, int targetPo
 				patch_jump(ctx,jb);
 				patch_jump(ctx,jav);
 				patch_jump(ctx,jbv);
-				register_jump(ctx,do_jump(ctx,OJEq, false),targetPos);
+				register_jump(ctx,do_jump(ctx,OJAlways, false),targetPos);
 				patch_jump(ctx,jnext);
 				patch_jump(ctx,jvalue);
 			} else