From de9c629bcb979843f627fc030e43b2e45b3a35b6 Mon Sep 17 00:00:00 2001 From: Michael McLoughlin Date: Mon, 7 Jan 2019 22:32:55 -0800 Subject: [PATCH] operand: remove TODO about deleting Imm() Starting to think this function could have its place. Updates #18 --- operand/const.go | 1 - 1 file changed, 1 deletion(-) diff --git a/operand/const.go b/operand/const.go index 8163dc91..b2c6a6f7 100644 --- a/operand/const.go +++ b/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)