From 86431a2f1c668844c665f9d09e246de906b511d8 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 13 Dec 2017 16:32:09 -0200 Subject: new opcodes BANDK/BORK/BXORK. (They do not use immediate operands because, too often, masks in bitwise operations are integers larger than one byte.) --- ldebug.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ldebug.c') diff --git a/ldebug.c b/ldebug.c index 160b38fc..93f2d53d 100644 --- a/ldebug.c +++ b/ldebug.c @@ -1,5 +1,5 @@ /* -** $Id: ldebug.c,v 2.146 2017/11/23 19:29:04 roberto Exp roberto $ +** $Id: ldebug.c,v 2.147 2017/12/07 15:44:10 roberto Exp roberto $ ** Debug Interface ** See Copyright Notice in lua.h */ @@ -589,7 +589,8 @@ static const char *funcnamefromcode (lua_State *L, CallInfo *ci, tm = TM_NEWINDEX; break; case OP_ADDI: case OP_SUBI: case OP_MULI: case OP_MODI: - case OP_POWI: case OP_DIVI: case OP_IDIVI: { + case OP_POWI: case OP_DIVI: case OP_IDIVI: + case OP_BANDK: case OP_BORK: case OP_BXORK: { int offset = GET_OPCODE(i) - OP_ADDI; /* ORDER OP */ tm = cast(TMS, offset + TM_ADD); /* ORDER TM */ break; -- cgit v1.2.3-55-g6feb