]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: gofmt
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 16 Dec 2014 06:14:25 +0000 (17:14 +1100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 16 Dec 2014 06:16:00 +0000 (06:16 +0000)
Fixes #9339

Change-Id: I22faf2593cb73f42612c2c2bfe38de001fb2746b
Reviewed-on: https://go-review.googlesource.com/1630
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/runtime/debug/heapdump_test.go
src/runtime/malloc2.go

index cf01f520152d55ea1ace110d89556a10bc28532e..cb2f2f06798a4882144912696f9a246aac79ce48 100644 (file)
@@ -32,13 +32,12 @@ func TestWriteHeapDumpNonempty(t *testing.T) {
        }
 }
 
-
 type Obj struct {
-       x, y int
+       x, y int
 }
 
 func objfin(x *Obj) {
-       println("finalized", x)
+       println("finalized", x)
 }
 
 func TestWriteHeapDumpFinalizers(t *testing.T) {
index cd8dc0ad8b141457a0b7e7df16b6a789669e8a34..c975f845bc5934e8be35ea61261b5d5f44df8a3a 100644 (file)
@@ -477,7 +477,7 @@ type finblock struct {
        next    *finblock
        cnt     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.