core/asm: remove unused condition (#16487)

This commit is contained in:
dm4 2018-04-18 07:08:31 +08:00 committed by Felix Lange
parent ba1030b6b8
commit 49e38c970e
1 changed files with 0 additions and 3 deletions

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))
}