PPCSPE: Fix dispatch for binop metamethods.

This commit is contained in:
Mike Pall
2011-07-13 21:32:28 +02:00
parent 9687472454
commit 6599bc7db2
2 changed files with 218 additions and 216 deletions

View File

@@ -802,6 +802,7 @@ static void build_subroutines(BuildCtx *ctx)
| // BASE = old base, CRET1 = new base, stack = cont/func/o1/o2
| sub TMP1, CRET1, BASE
| stw PC, -16(CRET1) // [cont|PC]
| mr TMP2, BASE
| addi PC, TMP1, FRAME_CONT
| mr BASE, CRET1
| li NARGS8:RC, 16 // 2 args for func(o1, o2).