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

View File

@ -279,7 +279,7 @@ static const unsigned int build_actionlist[4954] = {
0x000980b0,
0x7d8e4050,
0x137b4a2d,
0x98d20000,
0x98b20000,
0x00098200,
0x72000000,
0x00090200,