Commit 6297f06c authored by Josh Bleecher Snyder's avatar Josh Bleecher Snyder

cmd/compile: fix build by updating to new types package

CL 38776 was not updated to use the new types package.

Fixes build.

Change-Id: Ie80ff4837cac95bd628e0405a937045171d56e0c
Reviewed-on: https://go-review.googlesource.com/39918
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: default avatarIlya Tocar <ilya.tocar@intel.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent 9eddc3a3
...@@ -1312,16 +1312,16 @@ opswitch: ...@@ -1312,16 +1312,16 @@ opswitch:
continue continue
} }
var step int var step int
var convType *Type var convType *types.Type
switch { switch {
case remains >= 8 && combine64bit: case remains >= 8 && combine64bit:
convType = Types[TINT64] convType = types.Types[TINT64]
step = 8 step = 8
case remains >= 4: case remains >= 4:
convType = Types[TUINT32] convType = types.Types[TUINT32]
step = 4 step = 4
case remains >= 2: case remains >= 2:
convType = Types[TUINT16] convType = types.Types[TUINT16]
step = 2 step = 2
} }
ncsubstr := nod(OINDEX, ncs, nodintconst(int64(i))) ncsubstr := nod(OINDEX, ncs, nodintconst(int64(i)))
......
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