From 303d87f037d59a2486a22d8aa81c3733a6600c1f Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Sun, 28 May 2017 23:55:43 +0200 Subject: Removed 'OP_' prefix from OpCodes names array --- src/lopcodes.js | 94 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/src/lopcodes.js b/src/lopcodes.js index e3b71db..ad555d7 100644 --- a/src/lopcodes.js +++ b/src/lopcodes.js @@ -2,53 +2,53 @@ "use strict"; const OpCodes = [ - "OP_MOVE", - "OP_LOADK", - "OP_LOADKX", - "OP_LOADBOOL", - "OP_LOADNIL", - "OP_GETUPVAL", - "OP_GETTABUP", - "OP_GETTABLE", - "OP_SETTABUP", - "OP_SETUPVAL", - "OP_SETTABLE", - "OP_NEWTABLE", - "OP_SELF", - "OP_ADD", - "OP_SUB", - "OP_MUL", - "OP_MOD", - "OP_POW", - "OP_DIV", - "OP_IDIV", - "OP_BAND", - "OP_BOR", - "OP_BXOR", - "OP_SHL", - "OP_SHR", - "OP_UNM", - "OP_BNOT", - "OP_NOT", - "OP_LEN", - "OP_CONCAT", - "OP_JMP", - "OP_EQ", - "OP_LT", - "OP_LE", - "OP_TEST", - "OP_TESTSET", - "OP_CALL", - "OP_TAILCALL", - "OP_RETURN", - "OP_FORLOOP", - "OP_FORPREP", - "OP_TFORCALL", - "OP_TFORLOOP", - "OP_SETLIST", - "OP_CLOSURE", - "OP_VARARG", - "OP_EXTRAARG" + "MOVE", + "LOADK", + "LOADKX", + "LOADBOOL", + "LOADNIL", + "GETUPVAL", + "GETTABUP", + "GETTABLE", + "SETTABUP", + "SETUPVAL", + "SETTABLE", + "NEWTABLE", + "SELF", + "ADD", + "SUB", + "MUL", + "MOD", + "POW", + "DIV", + "IDIV", + "BAND", + "BOR", + "BXOR", + "SHL", + "SHR", + "UNM", + "BNOT", + "NOT", + "LEN", + "CONCAT", + "JMP", + "EQ", + "LT", + "LE", + "TEST", + "TESTSET", + "CALL", + "TAILCALL", + "RETURN", + "FORLOOP", + "FORPREP", + "TFORCALL", + "TFORLOOP", + "SETLIST", + "CLOSURE", + "VARARG", + "EXTRAARG" ]; const OpCodesI = { -- cgit v1.2.3-70-g09d2