Commit 7aba0a37 by Nicolas Capens

Still check the arguments of non-user-defined function calls for other…

Still check the arguments of non-user-defined function calls for other user-defined function calls, to avoid eliminating non-dead functions. Issue=305824
parent 81409bbc
......@@ -116,7 +116,7 @@ bool AnalyzeCallDepth::visitAggregate(Visit visit, TIntermAggregate *node)
{
if(!node->isUserDefined())
{
return false;
return true; // Check the arguments for function calls
}
if(visit == PreVisit)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment