Sign in
go
/
go
/
677839353e013b13e0fb3d28e01a01a5ccf0c7a1
/
.
/
src
/
cmd
/
internal
/
obj
/
arm
/
util.go
blob: f036c5ffea51898e7e881b438fc74d8a3f3c88f8 [
file
] [
log
] [
blame
]
// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package arm
func bool2int(b bool) int {
if b {
return 1
}
return 0
}