core/asm: remove unused condition (#16487)

This commit is contained in:
dm4 authored and Felix Lange committed 2018-04-18 01:08:31 +02:00
1 parent ba1030b6b8
commit 49e38c970e
1 file changed
-3
-3
View File
@@ -246,9 +246,6 @@ func isJump(op string) bool {
// toBinary converts text to a vm.OpCode
func toBinary(text string) vm.OpCode {
if isPush(text) {
text = "push1"
}
return vm.StringToOp(strings.ToUpper(text))
}