Follow-up to CL 38668.
Passes toolstash-check -all.
Change-Id: I78a62509c610b5184b5e7ef2c4aa146fc8038840
Reviewed-on: https://go-review.googlesource.com/38670
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dave Cheney <dave@cheney.net>
vexflag int
rep int
repn int
- lock int
+ lock bool
}
// Put1 appends one byte to the end of the buffer.
}
if p.As == ALOCK {
- asmbuf.lock++
+ asmbuf.lock = true
return
}
asmbuf.repn = 0
}
- if asmbuf.lock != 0 {
+ if asmbuf.lock {
asmbuf.Put1(0xf0)
- asmbuf.lock = 0
+ asmbuf.lock = false
}
}