diff options
author | Nikita Popov <nikic@php.net> | 2016-10-23 22:12:55 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2016-10-23 22:12:55 +0200 |
commit | c3232c590323c424721f5a88d0ea6fa383d70f1d (patch) | |
tree | ffce16d5b580b755cacc417029de9f528da7872a /ext/opcache/Optimizer/zend_call_graph.c | |
parent | 820bca8ca3e6520d13171cca141e02d5f2b9d27e (diff) | |
download | php-git-c3232c590323c424721f5a88d0ea6fa383d70f1d.tar.gz |
Fix call graph construction
Travis build for 7.1+ has been failing for the past week...
Diffstat (limited to 'ext/opcache/Optimizer/zend_call_graph.c')
-rw-r--r-- | ext/opcache/Optimizer/zend_call_graph.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/opcache/Optimizer/zend_call_graph.c b/ext/opcache/Optimizer/zend_call_graph.c index 0df28eb02c..297f84b7d6 100644 --- a/ext/opcache/Optimizer/zend_call_graph.c +++ b/ext/opcache/Optimizer/zend_call_graph.c @@ -116,6 +116,8 @@ static int zend_analyze_calls(zend_arena **arena, zend_script *script, uint32_t zend_func_info *callee_func_info = ZEND_FUNC_INFO(&func->op_array); call_info->next_caller = callee_func_info ? callee_func_info->caller_info : NULL; } + } else { + call_info = NULL; } call++; break; |