mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
FAST_RET opcode also returns
This commit is contained in:
parent
e09a0bfc9e
commit
0ec3a6ff33
@ -486,6 +486,7 @@ int phpdbg_skip_line_helper() /* {{{ */ {
|
||||
while (++opline < op_array->opcodes + op_array->last) {
|
||||
if (opline->lineno != EG(current_execute_data)->opline->lineno
|
||||
|| opline->opcode == ZEND_RETURN
|
||||
|| opline->opcode == ZEND_FAST_RET
|
||||
|| opline->opcode == ZEND_GENERATOR_RETURN
|
||||
|| opline->opcode == ZEND_EXIT
|
||||
|| opline->opcode == ZEND_YIELD
|
||||
@ -529,11 +530,12 @@ static void phpdbg_seek_to_end(void) /* {{{ */ {
|
||||
while (++opline < op_array->opcodes + op_array->last) {
|
||||
switch (opline->opcode) {
|
||||
case ZEND_RETURN:
|
||||
case ZEND_FAST_RET:
|
||||
case ZEND_GENERATOR_RETURN:
|
||||
case ZEND_EXIT:
|
||||
case ZEND_YIELD:
|
||||
zend_hash_index_update_ptr(&PHPDBG_G(seek), (zend_ulong) opline, (void *) opline);
|
||||
return;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user