ARM: Avoid pointless arg clearing in BC_IFUNCF. Fix comments.

This commit is contained in:
Mike Pall 2012-01-23 19:10:14 +01:00
parent b9651b4ba2
commit 93a71f6a52
2 changed files with 5 additions and 5 deletions

View File

@ -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:
@ -2217,7 +2217,7 @@ static void build_subroutines(BuildCtx *ctx)
| ins_callt | ins_callt
#endif #endif
| |
|->cont_ffi_callback: // Return from FFI callback. |->cont_ffi_callback: // Return from FFI callback.
#if LJ_HASFFI #if LJ_HASFFI
| ldr CTSTATE, [DISPATCH, #DISPATCH_GL(ctype_state)] | ldr CTSTATE, [DISPATCH, #DISPATCH_GL(ctype_state)]
| str BASE, L->base | str BASE, L->base
@ -3369,7 +3369,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
| str BASE, L->base | str BASE, L->base
| mov CARG1, L | mov CARG1, L
| str PC, SAVE_PC | str PC, SAVE_PC
| bl extern lj_tab_reasize // (lua_State *L, GCtab *t, int nasize) | bl extern lj_tab_reasize // (lua_State *L, GCtab *t, int nasize)
| // Must not reallocate the stack. | // Must not reallocate the stack.
| IOS ldr BASE, L->base | IOS ldr BASE, L->base
| b <1 | b <1
@ -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

View File

@ -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,