]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: use callsite as line number for argument marshaling
authorKeith Randall <khr@golang.org>
Mon, 12 Jun 2023 18:26:28 +0000 (11:26 -0700)
committerKeith Randall <khr@golang.org>
Mon, 12 Jun 2023 20:34:37 +0000 (20:34 +0000)
commitc643b2938143ff59d5e854489880e12b39cbfb86
tree3853dbc8fd6feafe4af2e76f30a241b007569ccb
parent992afd9d54e011355c18f4e0d3c14040a8d65053
cmd/compile: use callsite as line number for argument marshaling

Don't use the line number of the argument itself, as that may be from
arbitrarily earlier in the function.

Fixes #60673

Change-Id: Ifc0a2aaae221a256be3a4b0b2e04849bae4b79d7
Reviewed-on: https://go-review.googlesource.com/c/go/+/502656
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Keith Randall <khr@google.com>
src/cmd/compile/internal/ssa/expand_calls.go
test/codegen/issue60673.go [new file with mode: 0644]