From f4ab48cb8329223b911fb9d138c54bfbafbe7e30 Mon Sep 17 00:00:00 2001 From: Alan Donovan Date: Wed, 18 Jun 2014 18:00:03 -0400 Subject: [PATCH] go.tools/go/ssa: remove obsolete comment. This was a cryptic prediction of the bug you fixed. :) LGTM=pcc R=pcc CC=golang-codereviews https://golang.org/cl/103470048 --- go/ssa/builder.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/go/ssa/builder.go b/go/ssa/builder.go index 12c31496..5caa1357 100644 --- a/go/ssa/builder.go +++ b/go/ssa/builder.go @@ -972,8 +972,6 @@ func (b *builder) assignStmt(fn *Function, lhss, rhss []ast.Expr, isDef bool) { } else { // Parallel assignment. All reads must occur // before all updates, precluding exprInPlace. - // TODO(adonovan): opt: is it sound to - // perform exprInPlace if !isDef? var rvals []Value for _, rval := range rhss { rvals = append(rvals, b.expr(fn, rval))