aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pall <mike>2013-04-28 01:49:28 +0200
committerMike Pall <mike>2013-04-28 01:49:28 +0200
commit8b3a320089563b008e88deea2252e1111e44a2ae (patch)
tree831f1f27f7acda48a8a0edd299f3674f8e846dec
parentc77680824f1be8daaf438f9474785dbebddfb077 (diff)
downloadluajit-8b3a320089563b008e88deea2252e1111e44a2ae.tar.gz
luajit-8b3a320089563b008e88deea2252e1111e44a2ae.tar.bz2
luajit-8b3a320089563b008e88deea2252e1111e44a2ae.zip
Fix BC_ISTYPE for WIN64 calling conventions.
-rw-r--r--src/vm_x86.dasc6
1 files changed, 3 insertions, 3 deletions
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)
1135 | 1135 |
1136 |->vmeta_istype: 1136 |->vmeta_istype:
1137 |.if X64 1137 |.if X64
1138 | mov L:CARG1d, SAVE_L 1138 | mov L:RB, SAVE_L
1139 | mov L:CARG1d->base, BASE // Caveat: CARG2d/CARG3d may be BASE. 1139 | mov L:RB->base, BASE // Caveat: CARG2d/CARG3d may be BASE.
1140 | mov CARG2d, RA 1140 | mov CARG2d, RA
1141 | movzx CARG3d, PC_RD 1141 | movzx CARG3d, PC_RD
1142 | mov L:RB, L:CARG1d 1142 | mov L:CARG1d, L:RB
1143 |.else 1143 |.else
1144 | movzx RD, PC_RD 1144 | movzx RD, PC_RD
1145 | mov ARG2, RA 1145 | mov ARG2, RA