diff options
Diffstat (limited to 'src/vm_arm.dasc')
-rw-r--r-- | src/vm_arm.dasc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/vm_arm.dasc b/src/vm_arm.dasc index b9193213..b2c15f49 100644 --- a/src/vm_arm.dasc +++ b/src/vm_arm.dasc | |||
@@ -793,7 +793,7 @@ static void build_subroutines(BuildCtx *ctx) | |||
793 | | bl extern lj_meta_len // (lua_State *L, TValue *o) | 793 | | bl extern lj_meta_len // (lua_State *L, TValue *o) |
794 | | // Returns NULL (retry) or TValue * (metamethod base). | 794 | | // Returns NULL (retry) or TValue * (metamethod base). |
795 | | .IOS ldr BASE, L->base | 795 | | .IOS ldr BASE, L->base |
796 | #ifdef LUAJIT_ENABLE_LUA52COMPAT | 796 | #if LJ_52 |
797 | | cmp CRET1, #0 | 797 | | cmp CRET1, #0 |
798 | | bne ->vmeta_binop // Binop call for compatibility. | 798 | | bne ->vmeta_binop // Binop call for compatibility. |
799 | | ldr TAB:CARG1, [BASE, RC] | 799 | | ldr TAB:CARG1, [BASE, RC] |
@@ -1085,12 +1085,12 @@ static void build_subroutines(BuildCtx *ctx) | |||
1085 | | | 1085 | | |
1086 | |.ffunc_1 pairs | 1086 | |.ffunc_1 pairs |
1087 | | checktab CARG2, ->fff_fallback | 1087 | | checktab CARG2, ->fff_fallback |
1088 | #ifdef LUAJIT_ENABLE_LUA52COMPAT | 1088 | #if LJ_52 |
1089 | | ldr TAB:RB, TAB:CARG1->metatable | 1089 | | ldr TAB:RB, TAB:CARG1->metatable |
1090 | #endif | 1090 | #endif |
1091 | | ldrd CFUNC:CARG34, CFUNC:CARG3->upvalue[0] | 1091 | | ldrd CFUNC:CARG34, CFUNC:CARG3->upvalue[0] |
1092 | | ldr PC, [BASE, FRAME_PC] | 1092 | | ldr PC, [BASE, FRAME_PC] |
1093 | #ifdef LUAJIT_ENABLE_LUA52COMPAT | 1093 | #if LJ_52 |
1094 | | cmp TAB:RB, #0 | 1094 | | cmp TAB:RB, #0 |
1095 | | bne ->fff_fallback | 1095 | | bne ->fff_fallback |
1096 | #endif | 1096 | #endif |
@@ -1135,12 +1135,12 @@ static void build_subroutines(BuildCtx *ctx) | |||
1135 | | | 1135 | | |
1136 | |.ffunc_1 ipairs | 1136 | |.ffunc_1 ipairs |
1137 | | checktab CARG2, ->fff_fallback | 1137 | | checktab CARG2, ->fff_fallback |
1138 | #ifdef LUAJIT_ENABLE_LUA52COMPAT | 1138 | #if LJ_52 |
1139 | | ldr TAB:RB, TAB:CARG1->metatable | 1139 | | ldr TAB:RB, TAB:CARG1->metatable |
1140 | #endif | 1140 | #endif |
1141 | | ldrd CFUNC:CARG34, CFUNC:CARG3->upvalue[0] | 1141 | | ldrd CFUNC:CARG34, CFUNC:CARG3->upvalue[0] |
1142 | | ldr PC, [BASE, FRAME_PC] | 1142 | | ldr PC, [BASE, FRAME_PC] |
1143 | #ifdef LUAJIT_ENABLE_LUA52COMPAT | 1143 | #if LJ_52 |
1144 | | cmp TAB:RB, #0 | 1144 | | cmp TAB:RB, #0 |
1145 | | bne ->fff_fallback | 1145 | | bne ->fff_fallback |
1146 | #endif | 1146 | #endif |
@@ -2906,7 +2906,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop) | |||
2906 | | ins_next3 | 2906 | | ins_next3 |
2907 | |2: | 2907 | |2: |
2908 | | checktab CARG2, ->vmeta_len | 2908 | | checktab CARG2, ->vmeta_len |
2909 | #ifdef LUAJIT_ENABLE_LUA52COMPAT | 2909 | #if LJ_52 |
2910 | | ldr TAB:CARG3, TAB:CARG1->metatable | 2910 | | ldr TAB:CARG3, TAB:CARG1->metatable |
2911 | | cmp TAB:CARG3, #0 | 2911 | | cmp TAB:CARG3, #0 |
2912 | | bne >9 | 2912 | | bne >9 |
@@ -2918,7 +2918,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop) | |||
2918 | | // Returns uint32_t (but less than 2^31). | 2918 | | // Returns uint32_t (but less than 2^31). |
2919 | | .IOS mov BASE, RC | 2919 | | .IOS mov BASE, RC |
2920 | | b <1 | 2920 | | b <1 |
2921 | #ifdef LUAJIT_ENABLE_LUA52COMPAT | 2921 | #if LJ_52 |
2922 | |9: | 2922 | |9: |
2923 | | ldrb CARG4, TAB:CARG3->nomm | 2923 | | ldrb CARG4, TAB:CARG3->nomm |
2924 | | tst CARG4, #1<<MM_len | 2924 | | tst CARG4, #1<<MM_len |