summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2016-10-23 22:12:55 +0200
committerNikita Popov <nikic@php.net>2016-10-23 22:12:55 +0200
commitc3232c590323c424721f5a88d0ea6fa383d70f1d (patch)
treeffce16d5b580b755cacc417029de9f528da7872a /ext
parent820bca8ca3e6520d13171cca141e02d5f2b9d27e (diff)
downloadphp-git-c3232c590323c424721f5a88d0ea6fa383d70f1d.tar.gz
Fix call graph construction
Travis build for 7.1+ has been failing for the past week...
Diffstat (limited to 'ext')
-rw-r--r--ext/opcache/Optimizer/zend_call_graph.c2
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;