Skip to content

Commit 7336534

Browse files
committed
[func-sig-opts][gardening] Standardize code section banners to look the same.
1 parent ba58d3c commit 7336534

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

lib/SILOptimizer/Transforms/FunctionSignatureOpts.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ using SILParameterInfoList = llvm::SmallVector<SILParameterInfo, 8>;
5959
using ArgumentIndexMap = llvm::SmallDenseMap<int, int>;
6060

6161
//===----------------------------------------------------------------------===//
62-
// Utilities
62+
// Utilities
6363
//===----------------------------------------------------------------------===//
6464

6565
/// Return the single return value of the function.
@@ -87,7 +87,7 @@ static SILInstruction *findOnlyApply(SILFunction *F) {
8787
}
8888

8989
//===----------------------------------------------------------------------===//
90-
// Function Signature Transformation
90+
// Function Signature Transform
9191
//===----------------------------------------------------------------------===//
9292

9393
struct FunctionSignatureTransformDescriptor {
@@ -790,9 +790,10 @@ void FunctionSignatureTransform::createFunctionSignatureOptimizedFunction() {
790790
assert(F->getDebugScope()->Parent != NewF->getDebugScope()->Parent);
791791
}
792792

793-
/// ----------------------------------------------------------///
794-
/// Dead argument transformation. ///
795-
/// ----------------------------------------------------------///
793+
//===----------------------------------------------------------------------===//
794+
// Dead Argument Elimination
795+
//===----------------------------------------------------------------------===//
796+
796797
bool FunctionSignatureTransform::DeadArgumentAnalyzeParameters() {
797798
// Did we decide we should optimize any parameter?
798799
SILFunction *F = TransformDescriptor.OriginalFunction;

0 commit comments

Comments
 (0)