]> Cypherpunks repositories - gostls13.git/commit
runtime: make concatstring{2,3,4,5} consistent w/ compiler's use
authorDavid Chase <drchase@google.com>
Fri, 2 Apr 2021 19:51:45 +0000 (15:51 -0400)
committerDavid Chase <drchase@google.com>
Fri, 2 Apr 2021 20:26:12 +0000 (20:26 +0000)
commit35a8bbc9eaf876ee625d33401081f74a7c4e08f8
treef103f396ff42f93dec616b9af194dd1e0670ade0
parent41cf18eda79be6fa8142ab2e99dc756d4b08369b
runtime: make concatstring{2,3,4,5} consistent w/ compiler's use

Internally the compiler uses a0,a1,a3 string, not [3]string,
and this lead to different parameter passing (memory, versus registers)
which of course did not work.

Updates #40724.

Change-Id: I1dbf479b88134559ba54b4b00a042b9a0fd128b8
Reviewed-on: https://go-review.googlesource.com/c/go/+/306910
Trust: David Chase <drchase@google.com>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/runtime/string.go