-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathopcodes.js
72 lines (71 loc) · 1.65 KB
/
opcodes.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
const ML_BYTECODE_VERSION = 5;
const MLI_AND = 0;
const MLI_AND_POP = 1;
const MLI_ASSIGN = 2;
const MLI_ASSIGN_LOCAL = 3;
const MLI_CALL = 4;
const MLI_CALL_CONST = 5;
const MLI_CALL_METHOD = 6;
const MLI_CATCH = 7;
const MLI_CATCHX = 8;
const MLI_CLOSURE = 9;
const MLI_CLOSURE_TYPED = 10;
const MLI_ENTER = 11;
const MLI_EXIT = 12;
const MLI_FOR = 13;
const MLI_GOTO = 14;
const MLI_IF_DEBUG = 15;
const MLI_ITER = 16;
const MLI_KEY = 17;
const MLI_LET = 18;
const MLI_LETI = 19;
const MLI_LETX = 20;
const MLI_LINK = 21;
const MLI_LIST_APPEND = 22;
const MLI_LIST_NEW = 23;
const MLI_LOAD = 24;
const MLI_LOAD_PUSH = 25;
const MLI_LOAD_VAR = 26;
const MLI_LOCAL = 27;
const MLI_LOCALI = 28;
const MLI_LOCAL_PUSH = 29;
const MLI_MAP_INSERT = 30;
const MLI_MAP_NEW = 31;
const MLI_NEXT = 32;
const MLI_NIL = 33;
const MLI_NIL_PUSH = 34;
const MLI_NOT = 35;
const MLI_OR = 36;
const MLI_PARAM_TYPE = 37;
const MLI_PARTIAL_NEW = 38;
const MLI_PARTIAL_SET = 39;
const MLI_POP = 40;
const MLI_PUSH = 41;
const MLI_REF = 42;
const MLI_REFI = 43;
const MLI_REFX = 44;
const MLI_RESOLVE = 45;
const MLI_RESUME = 46;
const MLI_RETRY = 47;
const MLI_RETURN = 48;
const MLI_STRING_ADD = 49;
const MLI_STRING_ADDS = 50;
const MLI_STRING_ADD_1 = 51;
const MLI_STRING_END = 52;
const MLI_STRING_NEW = 53;
const MLI_STRING_POP = 54;
const MLI_SUSPEND = 55;
const MLI_SWITCH = 56;
const MLI_TAIL_CALL = 57;
const MLI_TAIL_CALL_CONST = 58;
const MLI_TAIL_CALL_METHOD = 59;
const MLI_TRY = 60;
const MLI_TUPLE_NEW = 61;
const MLI_UPVALUE = 62;
const MLI_VALUE_1 = 63;
const MLI_VALUE_2 = 64;
const MLI_VAR = 65;
const MLI_VARX = 66;
const MLI_VAR_TYPE = 67;
const MLI_WITH = 68;
const MLI_WITHX = 69;