]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/internal: fix bug getting wrong indicator in DRconv()
authorFangming.Fang <fangming.fang@arm.com>
Fri, 14 Apr 2017 10:40:30 +0000 (10:40 +0000)
committerCherry Zhang <cherryyz@google.com>
Wed, 26 Apr 2017 14:09:18 +0000 (14:09 +0000)
Change-Id: I251ae497b0ab237d4b3fe98e397052394142d437
Reviewed-on: https://go-review.googlesource.com/41653
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/cmd/internal/obj/arm64/anames7.go

index d55b34f9ae9988b33e9c68fffb68cc29e42bbad8..c3ef2f652e9a72e5f2c50e8252efefedc3fade48 100644 (file)
@@ -4,6 +4,7 @@
 
 package arm64
 
+// This order should be strictly consistent to that in a.out.go
 var cnames7 = []string{
        "NONE",
        "REG",
@@ -16,13 +17,13 @@ var cnames7 = []string{
        "SPR",
        "COND",
        "ZCON",
+       "ABCON0",
        "ADDCON0",
+       "ABCON",
        "ADDCON",
+       "MBCON",
        "MOVCON",
        "BITCON",
-       "ABCON0",
-       "ABCON",
-       "MBCON",
        "LCON",
        "VCON",
        "FCON",