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;
157 && op_array->opcodes[ZEND_OP1(opline).opline_num].opcode == ZEND_JMP) {
160 ZEND_OP1(opline).opline_num = ZEND_OP1(&op_array->opcodes[target]).opline_num;
178 if (op_array->opcodes[target].opcode == ZEND_JMP) {
179 ZEND_OP2(opline).opline_num = ZEND_OP1(&op_array->opcodes[target]).opline_num;
204 if (op_array->opcodes[target].opcode == ZEND_JMP) {
208 ZEND_OP2(opline).opline_num = ZEND_OP1(&op_array->opcodes[target]).opline_num;
209 } else if (op_array->opcodes[target].opcode == opline->opcode &&
210 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) {
214 ZEND_OP2(opline).opline_num = ZEND_OP2(&op_array->opcodes[target]).opline_num;
215 } else if (op_array->opcodes[target].opcode == opline->opcode + 3 &&
216 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) {
219 … ZEND_OP2(opline).opline_num = ZEND_OP2(&op_array->opcodes[target]).opline_num;opline->opcode += 3;
220 COPY_NODE(opline->result, op_array->opcodes[target].result);
222 } else if (op_array->opcodes[target].opcode == INV_COND(opline->opcode) &&
223 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) {
228 } else if (op_array->opcodes[target].opcode == INV_COND_EX(opline->opcode) &&
229 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) {
234 COPY_NODE(opline->result, op_array->opcodes[target].result);
269 if (SAME_OPCODE_EX(opline->opcode, op_array->opcodes[target].opcode) &&
270 SAME_VAR(op_array->opcodes[target].op1, T)) {
272 if (op_array->opcodes[target].opcode == opline->opcode) {
274 COPY_NODE(T, op_array->opcodes[target].result);
277 ZEND_OP2(opline).opline_num = ZEND_OP2(&op_array->opcodes[target]).opline_num;
278 } else if (op_array->opcodes[target].opcode == ZEND_JMPZNZ &&
279 SAME_VAR(op_array->opcodes[target].op1, T)) {
284 new_target = ZEND_OP2(&op_array->opcodes[target]).opline_num;
287 new_target = op_array->opcodes[target].extended_value;
290 } else if ((op_array->opcodes[target].opcode == INV_EX_COND_EX(opline->opcode) ||
291 op_array->opcodes[target].opcode == INV_EX_COND(opline->opcode)) &&
292 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) {
345 for(op = &op_array->opcodes[ZEND_OP2(opline).opline_num]; op<end; op++) {
400 && op_array->opcodes[ZEND_OP2(opline).opline_num].opcode == ZEND_JMP) {
403 ZEND_OP2(opline).opline_num = ZEND_OP1(&op_array->opcodes[target]).opline_num;
408 && op_array->opcodes[opline->extended_value].opcode == ZEND_JMP) {
411 opline->extended_value = ZEND_OP1(&op_array->opcodes[target]).opline_num;