PPC: Fix ipairs() for keys in the hash part.

This commit is contained in:
Mike Pall 2011-01-20 12:25:56 +01:00
parent 6bce6b118e
commit 8396c3cdbc
2 changed files with 2 additions and 2 deletions

View File

@ -1130,13 +1130,13 @@ static void build_subroutines(BuildCtx *ctx)
| la RA, -8(BASE) | la RA, -8(BASE)
| cmplw TMP0, TMP2 | cmplw TMP0, TMP2
| slwi TMP3, TMP2, 3 | slwi TMP3, TMP2, 3
| evstdd CARG2, 0(RA)
| ble >2 // Not in array part? | ble >2 // Not in array part?
| evlddx TMP1, TMP1, TMP3 | evlddx TMP1, TMP1, TMP3
|1: |1:
| checknil TMP1 | checknil TMP1
| li RD, (0+1)*8 | li RD, (0+1)*8
| checkok ->fff_res // End of iteration, return 0 results. | checkok ->fff_res // End of iteration, return 0 results.
| evstdd CARG2, 0(RA)
| li RD, (2+1)*8 | li RD, (2+1)*8
| evstdd TMP1, 8(RA) | evstdd TMP1, 8(RA)
| b ->fff_res | b ->fff_res

View File

@ -1102,6 +1102,7 @@ static const unsigned int build_actionlist[4950] = {
0x7c004840, 0x7c004840,
0x55261800, 0x55261800,
0x000900a1, 0x000900a1,
0x10940321,
0x40810000, 0x40810000,
0x00050802, 0x00050802,
0x11083300, 0x11083300,
@ -1111,7 +1112,6 @@ static const unsigned int build_actionlist[4950] = {
0x00098200, 0x00098200,
0x41800000, 0x41800000,
0x00050843, 0x00050843,
0x10940321,
0x39800000, 0x39800000,
0x00098200, 0x00098200,
0x11140b21, 0x11140b21,