summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-05-28 23:55:43 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-05-28 23:55:43 +0200
commit303d87f037d59a2486a22d8aa81c3733a6600c1f (patch)
treea68a1502925a6d2f50a7ed6d41d483fc5d4d8672
parent8a04e1e09df17b4c161e4a0477cf41112264581d (diff)
downloadfengari-303d87f037d59a2486a22d8aa81c3733a6600c1f.tar.gz
fengari-303d87f037d59a2486a22d8aa81c3733a6600c1f.tar.bz2
fengari-303d87f037d59a2486a22d8aa81c3733a6600c1f.zip
Removed 'OP_' prefix from OpCodes names array
-rw-r--r--src/lopcodes.js94
1 files 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 = {