diff options
| author | Mike Pall <mike> | 2010-09-21 21:43:29 +0200 |
|---|---|---|
| committer | Mike Pall <mike> | 2010-09-21 21:43:29 +0200 |
| commit | d270e890f175de95fbdde8faa31c029afc301c79 (patch) | |
| tree | 8e661383bfd8a3601bc1d5e1d2fe4a419757cf7a /src | |
| parent | aff6b3080f91d0b8296a19691220bbe433d6156e (diff) | |
| download | luajit-d270e890f175de95fbdde8faa31c029afc301c79.tar.gz luajit-d270e890f175de95fbdde8faa31c029afc301c79.tar.bz2 luajit-d270e890f175de95fbdde8faa31c029afc301c79.zip | |
PPC: Reschedule continuation dispatch.
Diffstat (limited to 'src')
| -rw-r--r-- | src/buildvm_ppc.dasc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildvm_ppc.dasc b/src/buildvm_ppc.dasc index 2ef65b40..a8ac8095 100644 --- a/src/buildvm_ppc.dasc +++ b/src/buildvm_ppc.dasc | |||
| @@ -542,12 +542,12 @@ static void build_subroutines(BuildCtx *ctx) | |||
| 542 | | sub BASE, BASE, TMP1 // Restore caller BASE. | 542 | | sub BASE, BASE, TMP1 // Restore caller BASE. |
| 543 | | lwz LFUNC:TMP1, FRAME_FUNC(BASE) | 543 | | lwz LFUNC:TMP1, FRAME_FUNC(BASE) |
| 544 | | subi TMP2, RD, 8 | 544 | | subi TMP2, RD, 8 |
| 545 | | mtctr TMP0 | ||
| 546 | | lwz PC, -16(RB) // Restore PC from [cont|PC]. | 545 | | lwz PC, -16(RB) // Restore PC from [cont|PC]. |
| 547 | | lwz TMP1, LFUNC:TMP1->pc | 546 | | lwz TMP1, LFUNC:TMP1->pc |
| 548 | | evstddx TISNIL, RA, TMP2 // Ensure one valid arg. | 547 | | evstddx TISNIL, RA, TMP2 // Ensure one valid arg. |
| 549 | | lwz KBASE, PC2PROTO(k)(TMP1) | 548 | | lwz KBASE, PC2PROTO(k)(TMP1) |
| 550 | | // BASE = base, RA = resultptr, RB = meta base | 549 | | // BASE = base, RA = resultptr, RB = meta base |
| 550 | | mtctr TMP0 | ||
| 551 | | bctr // Jump to continuation. | 551 | | bctr // Jump to continuation. |
| 552 | | | 552 | | |
| 553 | |->cont_cat: // RA = resultptr, RB = meta base | 553 | |->cont_cat: // RA = resultptr, RB = meta base |
