aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Kleen <ak@gcc.gnu.org>2024-08-08 08:46:33 -0700
committerAndi Kleen <ak@gcc.gnu.org>2024-08-10 08:34:54 -0700
commit85a6073e8225a3a484b92445d85840af356cb4b7 (patch)
tree2bb386c839dcf7299023d1ba520d07e0a96963b8
parent16ce78156d822f3d26b182785111d8f77fa7a392 (diff)
downloadgcc-85a6073e8225a3a484b92445d85840af356cb4b7.zip
gcc-85a6073e8225a3a484b92445d85840af356cb4b7.tar.gz
gcc-85a6073e8225a3a484b92445d85840af356cb4b7.tar.bz2
Fix reference to the dom walker function in the documentation
It is using a class now with a different name. gcc/ChangeLog: * doc/cfg.texi: Fix references to dom_walker.
-rw-r--r--gcc/doc/cfg.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/doc/cfg.texi b/gcc/doc/cfg.texi
index 9a22420..a6f2b9f 100644
--- a/gcc/doc/cfg.texi
+++ b/gcc/doc/cfg.texi
@@ -83,13 +83,13 @@ lexicographical order, except @code{ENTRY_BLOCK} and @code{EXIT_BLOCK}.
The macro @code{FOR_ALL_BB} also visits all basic blocks in
lexicographical order, including @code{ENTRY_BLOCK} and @code{EXIT_BLOCK}.
-@findex post_order_compute, inverted_post_order_compute, walk_dominator_tree
+@findex post_order_compute, inverted_post_order_compute, dom_walker::walk
The functions @code{post_order_compute} and @code{inverted_post_order_compute}
can be used to compute topological orders of the CFG. The orders are
stored as vectors of basic block indices. The @code{BASIC_BLOCK} array
can be used to iterate each basic block by index.
Dominator traversals are also possible using
-@code{walk_dominator_tree}. Given two basic blocks A and B, block A
+@code{dom_walker::walk}. Given two basic blocks A and B, block A
dominates block B if A is @emph{always} executed before B@.
Each @code{basic_block} also contains pointers to the first