mirror of
https://github.com/golang/go
synced 2024-11-19 04:04:47 -07:00
runtime: gofmt
Fixes #9339 Change-Id: I22faf2593cb73f42612c2c2bfe38de001fb2746b Reviewed-on: https://go-review.googlesource.com/1630 Reviewed-by: Andrew Gerrand <adg@golang.org>
This commit is contained in:
parent
5308c6d932
commit
fccd942803
@ -32,13 +32,12 @@ func TestWriteHeapDumpNonempty(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
type Obj struct {
|
type Obj struct {
|
||||||
x, y int
|
x, y int
|
||||||
}
|
}
|
||||||
|
|
||||||
func objfin(x *Obj) {
|
func objfin(x *Obj) {
|
||||||
println("finalized", x)
|
println("finalized", x)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestWriteHeapDumpFinalizers(t *testing.T) {
|
func TestWriteHeapDumpFinalizers(t *testing.T) {
|
||||||
|
@ -477,7 +477,7 @@ type finblock struct {
|
|||||||
next *finblock
|
next *finblock
|
||||||
cnt int32
|
cnt int32
|
||||||
_ int32
|
_ int32
|
||||||
fin [(_FinBlockSize-2*ptrSize-2*4)/unsafe.Sizeof(finalizer{})]finalizer
|
fin [(_FinBlockSize - 2*ptrSize - 2*4) / unsafe.Sizeof(finalizer{})]finalizer
|
||||||
}
|
}
|
||||||
|
|
||||||
// Information from the compiler about the layout of stack frames.
|
// Information from the compiler about the layout of stack frames.
|
||||||
|
Loading…
Reference in New Issue
Block a user