Browse Source

x86: Fix argument checks for ipairs() iterator.

Mike Pall 10 years ago
parent
commit
10caad0261
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/vm_x86.dasc

+ 1 - 1
src/vm_x86.dasc

@@ -1617,7 +1617,7 @@ static void build_subroutines(BuildCtx *ctx)
   |  mov RD, 1+3
   |  mov RD, 1+3
   |  jmp ->fff_res
   |  jmp ->fff_res
   |
   |
-  |.ffunc_1 ipairs_aux
+  |.ffunc_2 ipairs_aux
   |  cmp dword [BASE+4], LJ_TTAB;  jne ->fff_fallback
   |  cmp dword [BASE+4], LJ_TTAB;  jne ->fff_fallback
   |  cmp dword [BASE+12], LJ_TISNUM
   |  cmp dword [BASE+12], LJ_TISNUM
   |.if DUALNUM
   |.if DUALNUM