Skip to content

Commit a95da8a

Browse files
committed
Attempt to fix opcache SEGFAULT
1 parent 501a9e6 commit a95da8a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ext/opcache/Optimizer/zend_call_graph.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,11 @@ int zend_analyze_calls(zend_arena **arena, zend_script *script, uint32_t build_f
177177
call_info->num_args = -1;
178178
}
179179
break;
180+
case ZEND_THROW:
181+
if (call_info) {
182+
call_info->caller_call_opline = opline;
183+
}
184+
break;
180185
}
181186
opline++;
182187
}

0 commit comments

Comments
 (0)