PPC: Fix L->status for resume after yield.

This commit is contained in:
Mike Pall
2011-04-13 02:27:19 +02:00
parent 0001a7fced
commit 1fa0cc09b3
2 changed files with 2 additions and 2 deletions

View File

@@ -480,7 +480,7 @@ static void build_subroutines(BuildCtx *ctx)
| evsplati TISSTR, LJ_TSTR
| sub RD, TMP1, BASE
| evmergelo TOBIT, TOBIT, TMP2
| stb TMP3, L->status
| stb CARG3, L->status
| andi. TMP0, PC, FRAME_TYPE
| li_vmstate INTERP
| addi RD, RD, 8