Explorar o código

core/asm: remove unused condition (#16487)

dm4 %!s(int64=7) %!d(string=hai) anos
pai
achega
49e38c970e
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      core/asm/compiler.go

+ 0 - 3
core/asm/compiler.go

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