diff options
author | Dan Willemsen <dwillemsen@google.com> | 2023-03-15 13:19:36 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2023-03-15 14:18:08 -0400 |
commit | 09c5a32afc5b66f28f166a68afe1fc71afbf9b73 (patch) | |
tree | 194d7b0e539d014393564a256bec571e18d6533a /go/pointer/solve.go | |
parent | f10932f763d058b0dcb3acfb795c869996fef47b (diff) | |
parent | 031fc75960d487b0b15db12fb328676236a3a39c (diff) | |
download | golang-x-tools-master.tar.gz |
Not using external_updater this time to switch to the new upstream tags.
Test: treehugger
Change-Id: I31488b4958a366ed7f183bb387d3e1446acc13ae
Diffstat (limited to 'go/pointer/solve.go')
-rw-r--r-- | go/pointer/solve.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/go/pointer/solve.go b/go/pointer/solve.go index 0fdd098b0..7a41b78a8 100644 --- a/go/pointer/solve.go +++ b/go/pointer/solve.go @@ -91,7 +91,6 @@ func (a *analysis) solve() { // and adds them to the graph, ensuring // that new constraints are applied to pre-existing labels and // that pre-existing constraints are applied to new labels. -// func (a *analysis) processNewConstraints() { // Take the slice of new constraints. // (May grow during call to solveConstraints.) @@ -151,7 +150,6 @@ func (a *analysis) processNewConstraints() { // solveConstraints applies each resolution rule attached to node n to // the set of labels delta. It may generate new constraints in // a.constraints. -// func (a *analysis) solveConstraints(n *node, delta *nodeset) { if delta.IsEmpty() { return @@ -199,7 +197,6 @@ func (a *analysis) addWork(id nodeid) { // // The size of the copy is implicitly 1. // It returns true if pts(dst) changed. -// func (a *analysis) onlineCopy(dst, src nodeid) bool { if dst != src { if nsrc := a.nodes[src]; nsrc.solve.copyTo.add(dst) { @@ -221,7 +218,6 @@ func (a *analysis) onlineCopy(dst, src nodeid) bool { // // TODO(adonovan): now that we support a.copy() during solving, we // could eliminate onlineCopyN, but it's much slower. Investigate. -// func (a *analysis) onlineCopyN(dst, src nodeid, sizeof uint32) uint32 { for i := uint32(0); i < sizeof; i++ { if a.onlineCopy(dst, src) { |