core/asm: remove unused condition.

This commit is contained in:
dm4 2018-04-11 15:28:59 +08:00 committed by dm4
parent 2e247705cd
commit 6883845641
No known key found for this signature in database
GPG key ID: 284633CF9C3DCF17

View file

@ -247,9 +247,6 @@ func isJump(op string) bool {
// toBinary converts text to a vm.OpCode // toBinary converts text to a vm.OpCode
func toBinary(text string) vm.OpCode { func toBinary(text string) vm.OpCode {
if isPush(text) {
text = "push1"
}
return vm.StringToOp(strings.ToUpper(text)) return vm.StringToOp(strings.ToUpper(text))
} }