Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(17)

Side by Side Diff: src/runtime/gcinfo_test.go

Issue 180600043: code review 180600043: all: power64 is now ppc64 (Closed)
Patch Set: diff -r 5b665926e5b4d472fc17385cd0b87337fa355b89 https://code.google.com/p/go/ Created 10 years, 3 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/runtime/defs_linux_ppc64le.go ('k') | src/runtime/lfstack_linux_ppc64x.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Go Authors. All rights reserved. 1 // Copyright 2014 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 package runtime_test 5 package runtime_test
6 6
7 import ( 7 import (
8 "bytes" 8 "bytes"
9 "runtime" 9 "runtime"
10 "testing" 10 "testing"
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 func infoBigStruct() []byte { 127 func infoBigStruct() []byte {
128 switch runtime.GOARCH { 128 switch runtime.GOARCH {
129 case "386", "arm": 129 case "386", "arm":
130 return []byte{ 130 return []byte{
131 BitsPointer, // q *int 131 BitsPointer, // q *int
132 BitsScalar, BitsScalar, BitsScalar, BitsScalar, BitsScal ar, // w byte; e [17]byte 132 BitsScalar, BitsScalar, BitsScalar, BitsScalar, BitsScal ar, // w byte; e [17]byte
133 BitsPointer, BitsDead, BitsDead, // r []byte 133 BitsPointer, BitsDead, BitsDead, // r []byte
134 BitsScalar, BitsScalar, BitsScalar, BitsScalar, // t int ; y uint16; u uint64 134 BitsScalar, BitsScalar, BitsScalar, BitsScalar, // t int ; y uint16; u uint64
135 BitsPointer, BitsDead, // i string 135 BitsPointer, BitsDead, // i string
136 } 136 }
137 » case "amd64", "power64", "power64le": 137 » case "amd64", "ppc64", "ppc64le":
138 return []byte{ 138 return []byte{
139 BitsPointer, // q *int 139 BitsPointer, // q *int
140 BitsScalar, BitsScalar, BitsScalar, // w byte; e [17]byt e 140 BitsScalar, BitsScalar, BitsScalar, // w byte; e [17]byt e
141 BitsPointer, BitsDead, BitsDead, // r []byte 141 BitsPointer, BitsDead, BitsDead, // r []byte
142 BitsScalar, BitsScalar, BitsScalar, // t int; y uint16; u uint64 142 BitsScalar, BitsScalar, BitsScalar, // t int; y uint16; u uint64
143 BitsPointer, BitsDead, // i string 143 BitsPointer, BitsDead, // i string
144 } 144 }
145 case "amd64p32": 145 case "amd64p32":
146 return []byte{ 146 return []byte{
147 BitsPointer, // q *int 147 BitsPointer, // q *int
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 dataString = "foo" 181 dataString = "foo"
182 dataSlice = []string{"foo"} 182 dataSlice = []string{"foo"}
183 dataEface interface{} = 42 183 dataEface interface{} = 42
184 dataIface Iface = IfaceImpl(42) 184 dataIface Iface = IfaceImpl(42)
185 185
186 infoString = []byte{BitsPointer, BitsDead} 186 infoString = []byte{BitsPointer, BitsDead}
187 infoSlice = []byte{BitsPointer, BitsDead, BitsDead} 187 infoSlice = []byte{BitsPointer, BitsDead, BitsDead}
188 infoEface = []byte{BitsPointer, BitsPointer} 188 infoEface = []byte{BitsPointer, BitsPointer}
189 infoIface = []byte{BitsPointer, BitsPointer} 189 infoIface = []byte{BitsPointer, BitsPointer}
190 ) 190 )
OLDNEW
« no previous file with comments | « src/runtime/defs_linux_ppc64le.go ('k') | src/runtime/lfstack_linux_ppc64x.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b