Commit 7165bcc6 authored by Josh Bleecher Snyder's avatar Josh Bleecher Snyder

cmd/internal/obj: remove timing prints from assemblers

Updates #19865

Change-Id: I24fbf5d79b5e4cac09c14cfff678a8215397b670
Reviewed-on: https://go-review.googlesource.com/39914
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent ff3a4ef7
......@@ -644,9 +644,6 @@ func span5(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
var opc int32
var out [6 + 3]uint32
for {
if ctxt.Debugvlog {
ctxt.Logf("%5.2f span1\n", obj.Cputime())
}
bflag = 0
c = 0
times++
......
......@@ -586,9 +586,6 @@ func span7(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
* around jmps to fix. this is rare.
*/
for bflag != 0 {
if ctxt.Debugvlog {
ctxt.Logf("%5.2f span1\n", obj.Cputime())
}
bflag = 0
c = 0
for p = cursym.Text.Link; p != nil; p = p.Link {
......
......@@ -417,9 +417,6 @@ func span0(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
var otxt int64
var q *obj.Prog
for bflag != 0 {
if ctxt.Debugvlog {
ctxt.Logf("%5.2f span1\n", obj.Cputime())
}
bflag = 0
c = 0
for p = cursym.Text.Link; p != nil; p = p.Link {
......
......@@ -146,9 +146,6 @@ func preprocess(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
* expand RET
* expand BECOME pseudo
*/
if ctxt.Debugvlog {
ctxt.Logf("%5.2f noops\n", obj.Cputime())
}
var q *obj.Prog
var q1 *obj.Prog
......
......@@ -596,9 +596,6 @@ func span9(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
var otxt int64
var q *obj.Prog
for bflag != 0 {
if ctxt.Debugvlog {
ctxt.Logf("%5.2f span1\n", obj.Cputime())
}
bflag = 0
c = 0
for p = cursym.Text.Link; p != nil; p = p.Link {
......
......@@ -259,9 +259,6 @@ func preprocess(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
* expand RET
* expand BECOME pseudo
*/
if ctxt.Debugvlog {
ctxt.Logf("%5.2f noops\n", obj.Cputime())
}
var q *obj.Prog
var q1 *obj.Prog
......
......@@ -226,9 +226,6 @@ func preprocess(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
* strip NOPs
* expand RET
*/
if ctxt.Debugvlog {
ctxt.Logf("%5.2f noops\n", obj.Cputime())
}
var q *obj.Prog
for p := cursym.Text; p != nil; p = p.Link {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment