mirror of https://github.com/golang/go.git
cmd/compile: remove unused code in walk.Walk
This commit is contained in:
parent
6db1102605
commit
b35ca85e57
|
|
@ -32,12 +32,6 @@ func Walk(fn *ir.Func) {
|
|||
ir.DumpList(s, ir.CurFunc.Body)
|
||||
}
|
||||
|
||||
lno := base.Pos
|
||||
|
||||
base.Pos = lno
|
||||
if base.Errors() > errorsBefore {
|
||||
return
|
||||
}
|
||||
walkStmtList(ir.CurFunc.Body)
|
||||
if base.Flag.W != 0 {
|
||||
s := fmt.Sprintf("after walk %v", ir.CurFunc.Sym())
|
||||
|
|
|
|||
Loading…
Reference in New Issue