ARM: Avoid pointless arg clearing in BC_IFUNCF. Fix comments.
This commit is contained in:
parent
b9651b4ba2
commit
93a71f6a52
@ -1571,7 +1571,7 @@ static void build_subroutines(BuildCtx *ctx)
|
|||||||
| add CARG1, STR:CARG1, #sizeof(GCstr)-1
|
| add CARG1, STR:CARG1, #sizeof(GCstr)-1
|
||||||
| movgt RB, CARG2
|
| movgt RB, CARG2
|
||||||
| add CARG2, CARG1, CARG3
|
| add CARG2, CARG1, CARG3
|
||||||
| subs CARG3, RB, CARG3 // len = start - end
|
| subs CARG3, RB, CARG3 // len = end - start
|
||||||
| add CARG3, CARG3, #1 // len += 1
|
| add CARG3, CARG3, #1 // len += 1
|
||||||
| bge ->fff_newstr
|
| bge ->fff_newstr
|
||||||
|->fff_emptystr:
|
|->fff_emptystr:
|
||||||
@ -3945,7 +3945,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
|
|||||||
|2:
|
|2:
|
||||||
| cmp NARGS8:RC, CARG2, lsl #3 // Check for missing parameters.
|
| cmp NARGS8:RC, CARG2, lsl #3 // Check for missing parameters.
|
||||||
| mvn CARG4, #~LJ_TNIL
|
| mvn CARG4, #~LJ_TNIL
|
||||||
| ble >3
|
| blo >3
|
||||||
if (op == BC_JFUNCF) {
|
if (op == BC_JFUNCF) {
|
||||||
| decode_RD RC, INS
|
| decode_RD RC, INS
|
||||||
| b =>BC_JLOOP
|
| b =>BC_JLOOP
|
||||||
|
@ -5687,7 +5687,7 @@ static const unsigned int build_actionlist[5777] = {
|
|||||||
0xe15b0181,
|
0xe15b0181,
|
||||||
0xe3e03000,
|
0xe3e03000,
|
||||||
0x000a0000,
|
0x000a0000,
|
||||||
0xda000000,
|
0x3a000000,
|
||||||
0x00050003,
|
0x00050003,
|
||||||
0x00000000,
|
0x00000000,
|
||||||
0xe1a0b82e,
|
0xe1a0b82e,
|
||||||
|
Loading…
Reference in New Issue
Block a user