summaryrefslogtreecommitdiff
path: root/src/internal/bytealg/indexbyte_mips64x.s
diff options
context:
space:
mode:
authorKeith Randall <khr@google.com>2018-07-09 11:09:42 -0700
committerKeith Randall <khr@golang.org>2018-07-10 17:13:53 +0000
commitbe9c994609eace4ef26966e86374685dce4b3413 (patch)
treedf3c00f45d8f35fef8c0e7e156236348198cad02 /src/internal/bytealg/indexbyte_mips64x.s
parentdeefcb26233c8acd089e9ae1d247c13891b6c55c (diff)
downloadgo-git-be9c994609eace4ef26966e86374685dce4b3413.tar.gz
internal/bytealg: specify argmaps for exported functions
Functions exported on behalf of other packages need to have their argument stack maps specified explicitly. They don't get an implicit map because they are not in the local package, and if they get defer'd they need argument maps. Fixes #24419 Change-Id: I35b7d8b4a03d4770ba88699e1007cb3fcb5397a9 Reviewed-on: https://go-review.googlesource.com/122676 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/internal/bytealg/indexbyte_mips64x.s')
-rw-r--r--src/internal/bytealg/indexbyte_mips64x.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/internal/bytealg/indexbyte_mips64x.s b/src/internal/bytealg/indexbyte_mips64x.s
index 2dc736df4d..9c421174b9 100644
--- a/src/internal/bytealg/indexbyte_mips64x.s
+++ b/src/internal/bytealg/indexbyte_mips64x.s
@@ -54,7 +54,9 @@ notfound:
RET
TEXT bytes·IndexByte(SB),NOSPLIT,$0-40
+ FUNCDATA $0, ·IndexByte·args_stackmap(SB)
JMP ·IndexByte(SB)
TEXT strings·IndexByte(SB),NOSPLIT,$0-32
+ FUNCDATA $0, ·IndexByteString·args_stackmap(SB)
JMP ·IndexByteString(SB)