Skip to content

Commit

Permalink
Fix SuperFileCheck from failing outerloop (#88692)
Browse files Browse the repository at this point in the history
  • Loading branch information
TIHan authored Jul 12, 2023
1 parent e4e0810 commit 82bf906
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/coreclr/tools/SuperFileCheck/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,6 @@ static string PreProcessMethod(MethodDeclarationInfo methodDeclInfo, string[] ch

// Create anchors from the first prefix.
var startAnchorText = $"// {checkPrefixes[0]}-LABEL: for method {methodName}";
var startInstrsAnchorText = $"// {checkPrefixes[0]}: Lcl frame size =";
var endAnchorText = $"// {checkPrefixes[0]}: for method {methodName}";

// Create temp source file based on the source text of the method.
Expand All @@ -406,7 +405,6 @@ static string PreProcessMethod(MethodDeclarationInfo methodDeclInfo, string[] ch
tmpSrc.AppendLine(String.Empty);
}
tmpSrc.AppendLine(startAnchorText);
tmpSrc.AppendLine(startInstrsAnchorText);
tmpSrc.AppendLine(TransformMethod(methodDecl, checkPrefixes));
tmpSrc.AppendLine(endAnchorText);

Expand Down

0 comments on commit 82bf906

Please sign in to comment.