Skip to content

Commit

Permalink
core/asm: remove unused condition (#16487)
Browse files Browse the repository at this point in the history
  • Loading branch information
dm4 authored and fjl committed Apr 17, 2018
1 parent ba1030b commit 49e38c9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/asm/compiler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

Expand Down

0 comments on commit 49e38c9

Please sign in to comment.