Skip to content

Commit e601521

Browse files
committed
typo
1 parent f50a254 commit e601521

File tree

1 file changed

+4
-4
lines changed
  • src/cmd/compile/internal/ssa

1 file changed

+4
-4
lines changed

src/cmd/compile/internal/ssa/sccp.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -511,9 +511,9 @@ func sccp(f *Func) {
511511

512512
// apply optimizations based on discovered constants
513513
var constCnt, rewireCnt = t.replaceConst()
514-
// if f.pass.debug > 0 {
515-
if constCnt > 0 || rewireCnt > 0 {
516-
fmt.Printf("Phase SCCP for %v : %v constants, %v dce\n", f.Name, constCnt, rewireCnt)
514+
if f.pass.debug > 0 {
515+
if constCnt > 0 || rewireCnt > 0 {
516+
fmt.Printf("Phase SCCP for %v : %v constants, %v dce\n", f.Name, constCnt, rewireCnt)
517+
}
517518
}
518-
// }
519519
}

0 commit comments

Comments
 (0)