Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/compile: remove unused isIntOrdering method #37989

Closed
AlphaHot opened this issue Mar 21, 2020 · 2 comments
Closed

cmd/compile: remove unused isIntOrdering method #37989

AlphaHot opened this issue Mar 21, 2020 · 2 comments
Milestone

Comments

@AlphaHot
Copy link

@AlphaHot AlphaHot commented Mar 21, 2020

// isIntOrdering reports whether n is a <, ≤, >, or ≥ ordering between integers.
func (n *Node) isIntOrdering() bool {
switch n.Op {
case OLE, OLT, OGE, OGT:
default:
return false
}
return n.Left.Type.IsInteger() && n.Right.Type.IsInteger()
}

@ianlancetaylor ianlancetaylor changed the title Suggestion to delete an unused method cmd/compile: remove unused isIntOrdering method Mar 21, 2020
@ianlancetaylor ianlancetaylor added this to the Backlog milestone Mar 21, 2020
@ianlancetaylor
Copy link
Contributor

@ianlancetaylor ianlancetaylor commented Mar 21, 2020

@gopherbot
Copy link

@gopherbot gopherbot commented Mar 22, 2020

Change https://golang.org/cl/224777 mentions this issue: cmd/compile: remove unused isIntOrdering method

@gopherbot gopherbot closed this in 9a2db7c Mar 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.