diff options
Diffstat (limited to 'lib/CodeGen/CodeGenPGO.cpp')
| -rw-r--r-- | lib/CodeGen/CodeGenPGO.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenPGO.cpp b/lib/CodeGen/CodeGenPGO.cpp index d1b57d80c3..c1a45be115 100644 --- a/lib/CodeGen/CodeGenPGO.cpp +++ b/lib/CodeGen/CodeGenPGO.cpp @@ -234,12 +234,12 @@ namespace { } void VisitStmt(const Stmt *S) { VisitChildren(S); } - /// Assign a counter to track entry to the function body + /// Assign a counter to track entry to the function body. void VisitFunctionDecl(const FunctionDecl *S) { (*CounterMap)[S->getBody()] = NextCounter++; Visit(S->getBody()); } - /// Assign a counter to track the block following a label + /// Assign a counter to track the block following a label. void VisitLabelStmt(const LabelStmt *S) { (*CounterMap)[S] = NextCounter++; Visit(S->getSubStmt()); |
