mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 15:34:09 +00:00
Remove TODOs for branch on index.
It is probably not suitable (relies on even-odd register numbering).
This commit is contained in:
parent
5f72b2313d
commit
7b6aa863c2
@ -1418,7 +1418,6 @@ static void build_subroutines(BuildCtx *ctx)
|
|||||||
|2: // Move args to coroutine.
|
|2: // Move args to coroutine.
|
||||||
| lg RC, 0(RB, PC)
|
| lg RC, 0(RB, PC)
|
||||||
| stg RC, -8(PC)
|
| stg RC, -8(PC)
|
||||||
| // TODO: replace with branch on count/index?
|
|
||||||
| lay PC, -8(PC)
|
| lay PC, -8(PC)
|
||||||
| cgr PC, RA
|
| cgr PC, RA
|
||||||
| jne <2
|
| jne <2
|
||||||
@ -1455,7 +1454,6 @@ static void build_subroutines(BuildCtx *ctx)
|
|||||||
|5: // Move results from coroutine.
|
|5: // Move results from coroutine.
|
||||||
| lg RD, 0(RA)
|
| lg RD, 0(RA)
|
||||||
| stg RD, 0(RA, RB)
|
| stg RD, 0(RA, RB)
|
||||||
| // TODO: branch on count/index?
|
|
||||||
| la RA, 8(RA)
|
| la RA, 8(RA)
|
||||||
| cgr RA, KBASE
|
| cgr RA, KBASE
|
||||||
| jne <5
|
| jne <5
|
||||||
|
Loading…
Reference in New Issue
Block a user