aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/obj/arm/obj5.go
diff options
context:
space:
mode:
authorDave Cheney <dave@cheney.net>2016-03-21 14:19:57 +1100
committerDave Cheney <dave@cheney.net>2016-03-21 04:27:24 +0000
commitca0f5c97409114f2cd2b30adfca63a4c2bcac0b2 (patch)
tree310dce4280a7e78f8e46178ec47149687bc07c6c /src/cmd/internal/obj/arm/obj5.go
parenta4dce128035ebeb61cc3db11bf99d7884839935f (diff)
downloadgo-ca0f5c97409114f2cd2b30adfca63a4c2bcac0b2.tar.xz
cmd/internal/obj: move Nocache helper to arm back end
The obj.Nocache helper was only used by the arm back end, move it there. Change-Id: I5c9faf995499991ead1f3d8c8ffc3b6af7346876 Reviewed-on: https://go-review.googlesource.com/20868 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd/internal/obj/arm/obj5.go')
-rw-r--r--src/cmd/internal/obj/arm/obj5.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/internal/obj/arm/obj5.go b/src/cmd/internal/obj/arm/obj5.go
index 75a099faca..6aa76c72bd 100644
--- a/src/cmd/internal/obj/arm/obj5.go
+++ b/src/cmd/internal/obj/arm/obj5.go
@@ -478,7 +478,7 @@ func preprocess(ctxt *obj.Link, cursym *obj.LSym) {
}
case obj.ARET:
- obj.Nocache(p)
+ nocache(p)
if cursym.Text.Mark&LEAF != 0 {
if autosize == 0 {
p.As = AB