Explorar o código

Back to RCPU_CALL for UI8 Linux

Fixes #694, related to #665
Yuxiao Mao hai 1 ano
pai
achega
a2c84a3bce
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/jit.c

+ 1 - 1
src/jit.c

@@ -1137,7 +1137,7 @@ static preg *copy( jit_ctx *ctx, preg *to, preg *from, int size ) {
 				}
 			}
 			if( !is_reg8(from) ) {
-				preg *r = alloc_reg(ctx, RCPU_8BITS);
+				preg *r = alloc_reg(ctx, RCPU_CALL);
 				op32(ctx, MOV, r, from);
 				RUNLOCK(r);
 				op32(ctx,MOV8,to,r);