PPC: Fix KBASE restore in BC_CALLT.

This commit is contained in:
Mike Pall 2010-09-14 01:20:01 +02:00
parent fe159ea2fb
commit 2bdf3fcd50

View File

@ -2068,7 +2068,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
| lwz INS, -4(TMP1)
| decode_RA8 RA, INS
| sub TMP1, BASE, RA
| lwz LFUNC:TMP1, FRAME_FUNC(TMP1)
| lwz LFUNC:TMP1, FRAME_FUNC-8(TMP1)
| lwz TMP1, LFUNC:TMP1->pc
| lwz KBASE, PC2PROTO(k)(TMP1) // Need to prepare KBASE.
| b <4