Skip to content

Commit

Permalink
cmd/compile: remove unified IR stmtTypeDeclHack
Browse files Browse the repository at this point in the history
After CL 385998, unified IR quirks mode was gone, it's time to remove
stmtTypeDeclHack, too.

Change-Id: Id73dd1d6c11b91c0c6c6cbe85f1b06977a9876d2
Reviewed-on: https://go-review.googlesource.com/c/go/+/392214
Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
  • Loading branch information
cuonglm committed Mar 14, 2022
1 parent ab0f761 commit 7900576
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/cmd/compile/internal/noder/codes.go
Expand Up @@ -29,9 +29,6 @@ const (
stmtFor
stmtSwitch
stmtSelect

// TODO(mdempsky): Remove after we don't care about toolstash -cmp.
stmtTypeDeclHack
)

type codeExpr int
Expand Down

0 comments on commit 7900576

Please sign in to comment.