aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/api
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2019-04-19 12:20:56 -0700
committerMatthew Dempsky <mdempsky@google.com>2019-04-19 20:45:14 +0000
commit9f9e17a82fd7afa622424f51e458bb383cb952ce (patch)
treee010ab49233641008ed5dbe4e24f70e4246b0a5d /src/cmd/api
parent376ce8c88033eede19d6295f9a79263f73c0fddb (diff)
downloadgo-9f9e17a82fd7afa622424f51e458bb383cb952ce.tar.xz
cmd/compile: fix ICE from go/defer call to variadic function
The special case logic for go/defer arguments in Escape.call was scattered around a bit and was somewhat inconsistently handled across different types of function calls and parameters. This CL pulls the logic out into a separate callStmt method that's used uniformly for all kinds of function calls and arguments. Fixes #31573. Change-Id: Icdcdf611754dc3fcf1af7cb52879fb4b73a7a31f Reviewed-on: https://go-review.googlesource.com/c/go/+/173019 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/cmd/api')
0 files changed, 0 insertions, 0 deletions