diff options
Diffstat (limited to 'ldebug.c')
-rw-r--r-- | ldebug.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -628,11 +628,6 @@ static const char *funcnamefromcode (lua_State *L, CallInfo *ci, | |||
628 | tm = cast(TMS, GETARG_C(i)); | 628 | tm = cast(TMS, GETARG_C(i)); |
629 | break; | 629 | break; |
630 | } | 630 | } |
631 | case OP_SHL: case OP_SHR: { | ||
632 | int offset = GET_OPCODE(i) - OP_ADD; /* ORDER OP */ | ||
633 | tm = cast(TMS, offset + TM_ADD); /* ORDER TM */ | ||
634 | break; | ||
635 | } | ||
636 | case OP_UNM: tm = TM_UNM; break; | 631 | case OP_UNM: tm = TM_UNM; break; |
637 | case OP_BNOT: tm = TM_BNOT; break; | 632 | case OP_BNOT: tm = TM_BNOT; break; |
638 | case OP_LEN: tm = TM_LEN; break; | 633 | case OP_LEN: tm = TM_LEN; break; |
@@ -641,9 +636,6 @@ static const char *funcnamefromcode (lua_State *L, CallInfo *ci, | |||
641 | case OP_LT: case OP_LE: case OP_LTI: case OP_LEI: | 636 | case OP_LT: case OP_LE: case OP_LTI: case OP_LEI: |
642 | *name = "order"; /* '<=' can call '__lt', etc. */ | 637 | *name = "order"; /* '<=' can call '__lt', etc. */ |
643 | return "metamethod"; | 638 | return "metamethod"; |
644 | case OP_SHRI: case OP_SHLI: | ||
645 | *name = "shift"; | ||
646 | return "metamethod"; | ||
647 | case OP_CLOSE: case OP_RETURN: | 639 | case OP_CLOSE: case OP_RETURN: |
648 | *name = "close"; | 640 | *name = "close"; |
649 | return "metamethod"; | 641 | return "metamethod"; |