]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.power64] runtime: Fix broken merge of noasm.go
authorAustin Clements <austin@google.com>
Wed, 22 Oct 2014 18:02:04 +0000 (14:02 -0400)
committerAustin Clements <austin@google.com>
Wed, 22 Oct 2014 18:02:04 +0000 (14:02 -0400)
The earlier dev.power64 merge missed the port of
runtime/noasm.goc to runtime/noasm_arm.go.  This CL fixes this
by moving noasm_arm.go to noasm.go and adding a +build to
share the file between arm and power64.

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/158350043

src/runtime/noasm.go [moved from src/runtime/noasm_arm.go with 96% similarity]

similarity index 96%
rename from src/runtime/noasm_arm.go
rename to src/runtime/noasm.go
index dd3ef8267662ce68e773048e0a088e8b14ef4ec5..43c16860b2b96930e26d1d775f8a00da8ece9f7d 100644 (file)
@@ -5,6 +5,8 @@
 // Routines that are implemented in assembly in asm_{amd64,386}.s
 // but are implemented in Go for arm.
 
+// +build arm power64 power64le
+
 package runtime
 
 func cmpstring(s1, s2 string) int {