mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: remove empty branches
Change-Id: Id87d9f55d1714fc553f5b1a9cba0f2fe348dad3e Reviewed-on: https://go-review.googlesource.com/126396 Run-TryBot: Yury Smolsky <yury@smolsky.by> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
3b7b9dce43
commit
5403b8eceb
2 changed files with 0 additions and 7 deletions
|
|
@ -535,8 +535,6 @@ func (state *debugState) mergePredecessors(b *Block, blockLocs []*BlockDebug) ([
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(preds) == 0 {
|
if len(preds) == 0 {
|
||||||
if state.loggingEnabled {
|
|
||||||
}
|
|
||||||
state.currentState.reset(nil)
|
state.currentState.reset(nil)
|
||||||
return nil, true
|
return nil, true
|
||||||
}
|
}
|
||||||
|
|
@ -854,7 +852,6 @@ func (state *debugState) buildLocationLists(blockLocs []*BlockDebug) {
|
||||||
}
|
}
|
||||||
state.changedVars.clear()
|
state.changedVars.clear()
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if state.loggingEnabled {
|
if state.loggingEnabled {
|
||||||
|
|
@ -914,8 +911,6 @@ func (state *debugState) updateVar(varID VarID, v *Value, curLoc []VarLoc) {
|
||||||
for i, slot := range state.varSlots[varID] {
|
for i, slot := range state.varSlots[varID] {
|
||||||
pending.pieces[i] = curLoc[slot]
|
pending.pieces[i] = curLoc[slot]
|
||||||
}
|
}
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// writePendingEntry writes out the pending entry for varID, if any,
|
// writePendingEntry writes out the pending entry for varID, if any,
|
||||||
|
|
|
||||||
|
|
@ -175,8 +175,6 @@ func allRBT32Ops(te *testing.T, x []int32) {
|
||||||
if s != "" {
|
if s != "" {
|
||||||
te.Errorf("Tree consistency problem at %v", s)
|
te.Errorf("Tree consistency problem at %v", s)
|
||||||
return
|
return
|
||||||
} else {
|
|
||||||
// fmt.Printf("%s", t.DebugString())
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue