Skip to content

Commit

Permalink
operand: remove TODO about deleting Imm()
Browse files Browse the repository at this point in the history
Starting to think this function could have its place.

Updates #18
  • Loading branch information
mmcloughlin committed Jan 8, 2019
1 parent 0a3dff4 commit de9c629
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion operand/const.go
Expand Up @@ -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)
Expand Down

0 comments on commit de9c629

Please sign in to comment.