]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: fix typo in comment
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 30 Dec 2019 16:35:40 +0000 (08:35 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 30 Dec 2019 19:26:27 +0000 (19:26 +0000)
Change-Id: I25fbd63f10ea9892589ad44cc45761926aff0648
Reviewed-on: https://go-review.googlesource.com/c/go/+/212841
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/compile/internal/ssa/gen/genericOps.go

index aa9d5703963aeb0ecb56bb4acde022a3dd95807d..b638d98887f46feee08358358a3f3730982deb86 100644 (file)
@@ -340,7 +340,7 @@ var genericOps = []opData{
        // Note: ConstX are sign-extended even when the type of the value is unsigned.
        // For instance, uint8(0xaa) is stored as auxint=0xffffffffffffffaa.
        {name: "Const64", aux: "Int64"},    // value is auxint
-       {name: "Const32F", aux: "Float32"}, // value is math.Float64frombits(uint64(auxint)) and is exactly prepresentable as float 32
+       {name: "Const32F", aux: "Float32"}, // value is math.Float64frombits(uint64(auxint)) and is exactly representable as float 32
        {name: "Const64F", aux: "Float64"}, // value is math.Float64frombits(uint64(auxint))
        {name: "ConstInterface"},           // nil interface
        {name: "ConstSlice"},               // nil slice