Lines Matching refs:opcodes
13 if (jmp_hitlist[i] == ZEND_OP1(&op_array->opcodes[target]).opline_num) { \
17 jmp_hitlist[jmp_hitlist_count++] = ZEND_OP1(&op_array->opcodes[target]).opline_num;
21 if (jmp_hitlist[i] == ZEND_OP2(&op_array->opcodes[target]).opline_num) { \
25 jmp_hitlist[jmp_hitlist_count++] = ZEND_OP2(&op_array->opcodes[target]).opline_num;
29 zend_op *end = op_array->opcodes + op_array->last;
37 opline = op_array->opcodes;
149 && op_array->opcodes[ZEND_OP1(opline).opline_num].opcode == ZEND_JMP) {
152 ZEND_OP1(opline).opline_num = ZEND_OP1(&op_array->opcodes[target]).opline_num;
170 if (op_array->opcodes[target].opcode == ZEND_JMP) {
171 ZEND_OP2(opline).opline_num = ZEND_OP1(&op_array->opcodes[target]).opline_num;
196 if (op_array->opcodes[target].opcode == ZEND_JMP) {
200 ZEND_OP2(opline).opline_num = ZEND_OP1(&op_array->opcodes[target]).opline_num;
201 } else if (op_array->opcodes[target].opcode == opline->opcode &&
202 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) {
206 ZEND_OP2(opline).opline_num = ZEND_OP2(&op_array->opcodes[target]).opline_num;
207 } else if (op_array->opcodes[target].opcode == opline->opcode + 3 &&
208 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) {
211 … ZEND_OP2(opline).opline_num = ZEND_OP2(&op_array->opcodes[target]).opline_num;opline->opcode += 3;
212 COPY_NODE(opline->result, op_array->opcodes[target].result);
214 } else if (op_array->opcodes[target].opcode == INV_COND(opline->opcode) &&
215 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) {
220 } else if (op_array->opcodes[target].opcode == INV_COND_EX(opline->opcode) &&
221 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) {
226 COPY_NODE(opline->result, op_array->opcodes[target].result);
261 if (SAME_OPCODE_EX(opline->opcode, op_array->opcodes[target].opcode) &&
262 SAME_VAR(op_array->opcodes[target].op1, T)) {
264 if (op_array->opcodes[target].opcode == opline->opcode) {
266 COPY_NODE(T, op_array->opcodes[target].result);
269 ZEND_OP2(opline).opline_num = ZEND_OP2(&op_array->opcodes[target]).opline_num;
270 } else if (op_array->opcodes[target].opcode == ZEND_JMPZNZ &&
271 SAME_VAR(op_array->opcodes[target].op1, T)) {
276 new_target = ZEND_OP2(&op_array->opcodes[target]).opline_num;
279 new_target = op_array->opcodes[target].extended_value;
282 } else if ((op_array->opcodes[target].opcode == INV_EX_COND_EX(opline->opcode) ||
283 op_array->opcodes[target].opcode == INV_EX_COND(opline->opcode)) &&
284 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) {
337 for(op = &op_array->opcodes[ZEND_OP2(opline).opline_num]; op<end; op++) {
392 && op_array->opcodes[ZEND_OP2(opline).opline_num].opcode == ZEND_JMP) {
395 ZEND_OP2(opline).opline_num = ZEND_OP1(&op_array->opcodes[target]).opline_num;
400 && op_array->opcodes[opline->extended_value].opcode == ZEND_JMP) {
403 opline->extended_value = ZEND_OP1(&op_array->opcodes[target]).opline_num;