Lines Matching refs:opcodes
42 if (jmp_hitlist[i] == ZEND_OP1(&op_array->opcodes[target]).opline_num) { \
46 jmp_hitlist[jmp_hitlist_count++] = ZEND_OP1(&op_array->opcodes[target]).opline_num;
50 if (jmp_hitlist[i] == ZEND_OP2(&op_array->opcodes[target]).opline_num) { \
54 jmp_hitlist[jmp_hitlist_count++] = ZEND_OP2(&op_array->opcodes[target]).opline_num;
59 zend_op *end = op_array->opcodes + op_array->last; in zend_optimizer_pass3()
67 opline = op_array->opcodes; in zend_optimizer_pass3()
179 && op_array->opcodes[ZEND_OP1(opline).opline_num].opcode == ZEND_JMP) { in zend_optimizer_pass3()
182 ZEND_OP1(opline).opline_num = ZEND_OP1(&op_array->opcodes[target]).opline_num; in zend_optimizer_pass3()
194 if (op_array->opcodes[target].opcode == ZEND_JMP) { in zend_optimizer_pass3()
195 ZEND_OP2(opline).opline_num = ZEND_OP1(&op_array->opcodes[target]).opline_num; in zend_optimizer_pass3()
210 if (op_array->opcodes[target].opcode == ZEND_JMP) { in zend_optimizer_pass3()
214 ZEND_OP2(opline).opline_num = ZEND_OP1(&op_array->opcodes[target]).opline_num; in zend_optimizer_pass3()
215 } else if (op_array->opcodes[target].opcode == opline->opcode && in zend_optimizer_pass3()
216 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) { in zend_optimizer_pass3()
220 ZEND_OP2(opline).opline_num = ZEND_OP2(&op_array->opcodes[target]).opline_num; in zend_optimizer_pass3()
221 } else if (op_array->opcodes[target].opcode == opline->opcode + 3 && in zend_optimizer_pass3()
222 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) { in zend_optimizer_pass3()
225 … ZEND_OP2(opline).opline_num = ZEND_OP2(&op_array->opcodes[target]).opline_num;opline->opcode += 3; in zend_optimizer_pass3()
226 COPY_NODE(opline->result, op_array->opcodes[target].result); in zend_optimizer_pass3()
228 } else if (op_array->opcodes[target].opcode == INV_COND(opline->opcode) && in zend_optimizer_pass3()
229 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) { in zend_optimizer_pass3()
234 } else if (op_array->opcodes[target].opcode == INV_COND_EX(opline->opcode) && in zend_optimizer_pass3()
235 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) { in zend_optimizer_pass3()
240 COPY_NODE(opline->result, op_array->opcodes[target].result); in zend_optimizer_pass3()
271 if (SAME_OPCODE_EX(opline->opcode, op_array->opcodes[target].opcode) && in zend_optimizer_pass3()
272 SAME_VAR(op_array->opcodes[target].op1, T)) { in zend_optimizer_pass3()
274 if (op_array->opcodes[target].opcode == opline->opcode) { in zend_optimizer_pass3()
276 COPY_NODE(T, op_array->opcodes[target].result); in zend_optimizer_pass3()
279 ZEND_OP2(opline).opline_num = ZEND_OP2(&op_array->opcodes[target]).opline_num; in zend_optimizer_pass3()
280 } else if (op_array->opcodes[target].opcode == ZEND_JMPZNZ && in zend_optimizer_pass3()
281 SAME_VAR(op_array->opcodes[target].op1, T)) { in zend_optimizer_pass3()
286 new_target = ZEND_OP2(&op_array->opcodes[target]).opline_num; in zend_optimizer_pass3()
289 new_target = op_array->opcodes[target].extended_value; in zend_optimizer_pass3()
292 } else if ((op_array->opcodes[target].opcode == INV_EX_COND_EX(opline->opcode) || in zend_optimizer_pass3()
293 op_array->opcodes[target].opcode == INV_EX_COND(opline->opcode)) && in zend_optimizer_pass3()
294 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) { in zend_optimizer_pass3()
342 for(op = &op_array->opcodes[ZEND_OP2(opline).opline_num]; op<end; op++) { in zend_optimizer_pass3()
391 && op_array->opcodes[ZEND_OP2(opline).opline_num].opcode == ZEND_JMP) { in zend_optimizer_pass3()
394 ZEND_OP2(opline).opline_num = ZEND_OP1(&op_array->opcodes[target]).opline_num; in zend_optimizer_pass3()
399 && op_array->opcodes[opline->extended_value].opcode == ZEND_JMP) { in zend_optimizer_pass3()
402 opline->extended_value = ZEND_OP1(&op_array->opcodes[target]).opline_num; in zend_optimizer_pass3()