Commit 49e38c97 authored by dm4's avatar dm4 Committed by Felix Lange

core/asm: remove unused condition (#16487)

parent ba1030b6
...@@ -246,9 +246,6 @@ func isJump(op string) bool { ...@@ -246,9 +246,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))
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment