Commit 80f2aff9 authored by Jeremy Jackins's avatar Jeremy Jackins Committed by Ian Lance Taylor

cmd/compile: clean up C-style variable declarations in plive.go

Change-Id: I928f51a1fe4830a81d4f5d3eb572785e06a75b77
Reviewed-on: https://go-review.googlesource.com/20581Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent eb4d1be2
...@@ -105,7 +105,7 @@ func bvget(bv Bvec, i int32) int { ...@@ -105,7 +105,7 @@ func bvget(bv Bvec, i int32) int {
// bvnext returns the smallest index >= i for which bvget(bv, i) == 1. // bvnext returns the smallest index >= i for which bvget(bv, i) == 1.
// If there is no such index, bvnext returns -1. // If there is no such index, bvnext returns -1.
func bvnext(bv Bvec, i int32) int { func bvnext(bv Bvec, i int32) int32 {
if i >= bv.n { if i >= bv.n {
return -1 return -1
} }
...@@ -131,7 +131,7 @@ func bvnext(bv Bvec, i int32) int { ...@@ -131,7 +131,7 @@ func bvnext(bv Bvec, i int32) int {
i++ i++
} }
return int(i) return i
} }
func bvisempty(bv Bvec) bool { func bvisempty(bv Bvec) bool {
......
This diff is collapsed.
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