]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.unified] cmd/compile/internal/noder: implicit conversion of call arguments
authorMatthew Dempsky <mdempsky@google.com>
Tue, 21 Jun 2022 18:31:11 +0000 (11:31 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 23 Jun 2022 21:55:01 +0000 (21:55 +0000)
commit711dacd8cf52d0c06624c4af3563d3b728c50b57
treea8398773572ffe20487f1bfbff491e84e9b1ced2
parent46b01ec667c05fb8eb8f382b173e126282acd80c
[dev.unified] cmd/compile/internal/noder: implicit conversion of call arguments

Function call arguments need to be implicitly converted to their
respective parameter types. This CL updates the Unified IR writer to
handle this case, at least for typical function calls. I'll handle
f(g()) calls is a subsequent CL.

Change-Id: I7c031d21f57885c9516eaf89eca517977bf9e39a
Reviewed-on: https://go-review.googlesource.com/c/go/+/413514
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/compile/internal/noder/writer.go