We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7aa3e31 commit d67ff15Copy full SHA for d67ff15
src/vm_x86.dasc
@@ -1246,7 +1246,11 @@ static void build_subroutines(BuildCtx *ctx)
1246
| mov LFUNC:RB, [RA-8]
1247
| add NARGS:RD, 1
1248
| // This is fragile. L->base must not move, KBASE must always be defined.
1249
+ |.if x64
1250
+ | cmp KBASEa, rdx // Continue with CALLT if flag set.
1251
+ |.else
1252
| cmp KBASE, BASE // Continue with CALLT if flag set.
1253
+ |.endif
1254
| je ->BC_CALLT_Z
1255
| mov BASE, RA
1256
| ins_call // Otherwise call resolved metamethod.
0 commit comments