... | ... |
@@ -67,6 +67,11 @@ enum bc_opcode { |
67 | 67 |
OP_SELECT, |
68 | 68 |
OP_CALL_DIRECT, |
69 | 69 |
OP_COPY, |
70 |
+ OP_GEP1, |
|
71 |
+ OP_GEP2, |
|
72 |
+ OP_GEPN, |
|
73 |
+ OP_STORE, |
|
74 |
+ OP_LOAD, |
|
70 | 75 |
OP_INVALID /* last */ |
71 | 76 |
}; |
72 | 77 |
|
... | ... |
@@ -85,6 +90,8 @@ static const unsigned char operand_counts[] = { |
85 | 85 |
/* CALLs have variable number of operands */ |
86 | 86 |
0, |
87 | 87 |
/* OP_COPY */ |
88 |
- 2 |
|
88 |
+ 2, |
|
89 |
+ /* OP_GEP1, OP_GEP2, OP_GEPN, OP_STORE, OP_LOAD*/ |
|
90 |
+ 2, 3, 0, 2, 1 |
|
89 | 91 |
}; |
90 | 92 |
#endif |