Skip to content

Commit

Permalink
Update DMCompiler/Optimizer/PeepholeOptimizer.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
ike709 authored Nov 17, 2024
1 parent e8a9857 commit 35d2f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DMCompiler/Optimizer/PeepholeOptimizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ private class OptimizationTreeEntry {
/// <summary>
/// The optimization passes in the order that they run
/// </summary>
private static OptPass[] _passes;
private static readonly OptPass[] _passes;

Check warning

Code scanning / InspectCode

Inconsistent Naming Warning

Name '_passes' does not match rule 'Static readonly fields (private)'. Suggested name is 'Passes'.

/// <summary>
/// Trees matching chains of opcodes to peephole optimizations
Expand Down

0 comments on commit 35d2f67

Please sign in to comment.