diff --git a/docs/CodeGenerator.html b/docs/CodeGenerator.html
index 73ac2c25191..06f102e3e69 100644
--- a/docs/CodeGenerator.html
+++ b/docs/CodeGenerator.html
@@ -1030,7 +1030,7 @@ printer, and the type generated by the assembly parser and disassembler.
       SelectionDAG optimizer is run to clean up redundancies exposed by type
       legalization.</li>
 
-  <li><a href="#selectiondag_legalize">Legalize SelectionDAG Types</a> &mdash;
+  <li><a href="#selectiondag_legalize">Legalize SelectionDAG Ops</a> &mdash;
       This stage transforms SelectionDAG nodes to eliminate any types that are
       unsupported on the target.</li>