From: Mike Pall Date: Sat, 27 Apr 2013 23:49:28 +0000 (+0200) Subject: Fix BC_ISTYPE for WIN64 calling conventions. X-Git-Tag: v2.1.0-beta1~254 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b3a320089563b008e88deea2252e1111e44a2ae;p=thirdparty%2FLuaJIT.git Fix BC_ISTYPE for WIN64 calling conventions. --- diff --git a/src/vm_x86.dasc b/src/vm_x86.dasc index b7c5393f..338916a7 100644 --- a/src/vm_x86.dasc +++ b/src/vm_x86.dasc @@ -1135,11 +1135,11 @@ static void build_subroutines(BuildCtx *ctx) | |->vmeta_istype: |.if X64 - | mov L:CARG1d, SAVE_L - | mov L:CARG1d->base, BASE // Caveat: CARG2d/CARG3d may be BASE. + | mov L:RB, SAVE_L + | mov L:RB->base, BASE // Caveat: CARG2d/CARG3d may be BASE. | mov CARG2d, RA | movzx CARG3d, PC_RD - | mov L:RB, L:CARG1d + | mov L:CARG1d, L:RB |.else | movzx RD, PC_RD | mov ARG2, RA