Chromium Code Reviews
DescriptionIterative graph traversal in FlowGraph::DiscoverBlocks()
The motivation behind this change is that very large functions could
cause stack overflows in the (previously recursive) DiscoverBlocks
function. This commit introduces replaces recursive traversal by
iterative algorithms. Postorder traversal had to be removed from
DiscoverBlocks and is now done in a separate pass.
BUG=21109
R=vegorov@google.com
Committed: https://code.google.com/p/dart/source/detail?r=41016
Patch Set 1 #
Total comments: 4
Patch Set 2 : Addressed comments. #
Total comments: 2
Patch Set 3 : Addressed comments. #
Total comments: 1
Patch Set 4 : Added documentation of DiscoverBlock return value. #
Messages
Total messages: 9 (2 generated)
|
|||||||||||||||||||||||||||||||||||||