Permalink
Browse files

operand: remove TODO about deleting Imm()

Starting to think this function could have its place.

Updates #18
  • Loading branch information...
mmcloughlin committed Jan 8, 2019
1 parent 0a3dff4 commit de9c629bcb979843f627fc030e43b2e45b3a35b6
Showing with 0 additions and 1 deletion.
  1. +0 −1 operand/const.go
@@ -24,7 +24,6 @@ func (s String) constant() {}

// Imm returns an unsigned integer constant with size guessed from x.
func Imm(x uint64) Constant {
// TODO(mbm): remove this function
switch {
case uint64(uint8(x)) == x:
return U8(x)

0 comments on commit de9c629

Please sign in to comment.