From c3232c590323c424721f5a88d0ea6fa383d70f1d Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Sun, 23 Oct 2016 22:12:55 +0200 Subject: [PATCH] Fix call graph construction Travis build for 7.1+ has been failing for the past week... --- ext/opcache/Optimizer/zend_call_graph.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.50.1