]> Cypherpunks repositories - gostls13.git/commit
bytes: move IndexByte assembly to pkg runtime
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 1 Aug 2013 23:11:19 +0000 (16:11 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 1 Aug 2013 23:11:19 +0000 (16:11 -0700)
commite2a1bd68b3683980247620dc8986d533afa0764d
tree8210b15d2d174a37d36fbac2863a09ab70d2fa48
parent39679ca88f8f37f6797daa9e866f8ba65ee18c9e
bytes: move IndexByte assembly to pkg runtime

Per suggestion from Russ in February. Then strings.IndexByte
can be implemented in terms of the shared code in pkg runtime.

Update #3751

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/12289043
src/pkg/bytes/asm_386.s [deleted file]
src/pkg/bytes/asm_amd64.s [deleted file]
src/pkg/bytes/asm_arm.s [deleted file]
src/pkg/bytes/bytes.s [new file with mode: 0644]
src/pkg/bytes/bytes_decl.go
src/pkg/runtime/asm_386.s
src/pkg/runtime/asm_amd64.s
src/pkg/runtime/asm_arm.s