Fix the slow down in noContraction propagation

This commit is contained in:
qining 2016-05-20 14:11:28 -04:00
parent 823fc65644
commit e5712a2549

View File

@ -401,7 +401,8 @@ bool TSymbolDefinitionCollectingTraverser::visitBinary(glslang::TVisit /* visit
} else { } else {
// For other binary nodes, still traverse the right node. // For other binary nodes, still traverse the right node.
current_object_.clear(); current_object_.clear();
return true; node->getRight()->traverse(this);
return false;
} }
return false; return false;
} }