Skip to content

Commit 73162a5

Browse files
committed
[dev.typeparams] cmd/compile: remove outdate TODO in escape analysis
We now understand the root cause of #47227, it will be fixed in #47317. Change-Id: Ifcd44f887a0bd3195818df33e409bd3e818e0b27 Reviewed-on: https://go-review.googlesource.com/c/go/+/336610 Trust: Cuong Manh Le <[email protected]> Run-TryBot: Cuong Manh Le <[email protected]> Reviewed-by: Matthew Dempsky <[email protected]> TryBot-Result: Go Bot <[email protected]>
1 parent 80127a7 commit 73162a5

File tree

1 file changed

+0
-2
lines changed
  • src/cmd/compile/internal/escape

1 file changed

+0
-2
lines changed

src/cmd/compile/internal/escape/call.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,6 @@ func (e *escape) rewriteArgument(argp *ir.Node, init *ir.Nodes, call ir.Node, fn
320320
return
321321
case ir.ONAME:
322322
if arg.(*ir.Name).Class == ir.PFUNC {
323-
// TODO(cuonglm): figure it why this is necessary, we should not depend on this to make
324-
// ABI analyze works correctly (see #47227 and discussion in CL 334882).
325323
return
326324
}
327325
}

0 commit comments

Comments
 (0)