From 173e41b2ebed59a716d299470de25e50aee3b921 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 26 Apr 2017 14:46:52 -0300 Subject: new opcode OP_ADDI (for immediate integer operand) (Experimental) --- ldebug.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ldebug.c') diff --git a/ldebug.c b/ldebug.c index f1835890..4f35d211 100644 --- a/ldebug.c +++ b/ldebug.c @@ -1,5 +1,5 @@ /* -** $Id: ldebug.c,v 2.120 2016/03/31 19:01:21 roberto Exp roberto $ +** $Id: ldebug.c,v 2.121 2016/10/19 12:32:10 roberto Exp roberto $ ** Debug Interface ** See Copyright Notice in lua.h */ @@ -513,6 +513,9 @@ static const char *funcnamefromcode (lua_State *L, CallInfo *ci, case OP_SETTABUP: case OP_SETTABLE: tm = TM_NEWINDEX; break; + case OP_ADDI: + tm = TM_ADD; + break; case OP_ADD: case OP_SUB: case OP_MUL: case OP_MOD: case OP_POW: case OP_DIV: case OP_IDIV: case OP_BAND: case OP_BOR: case OP_BXOR: case OP_SHL: case OP_SHR: { -- cgit v1.2.3-55-g6feb