소스 검색

core/asm: remove unused condition (#16487)

dm4 7 년 전
부모
커밋
49e38c970e
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  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))
 }