|
@@ -1105,11 +1105,11 @@ static void build_subroutines(BuildCtx *ctx)
|
|
| mov BASE, L:RB->base
|
|
| mov BASE, L:RB->base
|
|
| mov NARGS:RDd, TMP1d
|
|
| mov NARGS:RDd, TMP1d
|
|
| mov LFUNC:RB, [RA-16]
|
|
| mov LFUNC:RB, [RA-16]
|
|
- | cleartp LFUNC:RB
|
|
|
|
| add NARGS:RDd, 1
|
|
| add NARGS:RDd, 1
|
|
| // This is fragile. L->base must not move, KBASE must always be defined.
|
|
| // This is fragile. L->base must not move, KBASE must always be defined.
|
|
| cmp KBASE, BASE // Continue with CALLT if flag set.
|
|
| cmp KBASE, BASE // Continue with CALLT if flag set.
|
|
| je ->BC_CALLT_Z
|
|
| je ->BC_CALLT_Z
|
|
|
|
+ | cleartp LFUNC:RB
|
|
| mov BASE, RA
|
|
| mov BASE, RA
|
|
| ins_call // Otherwise call resolved metamethod.
|
|
| ins_call // Otherwise call resolved metamethod.
|
|
|
|
|
|
|