Skip to content

Commit

Permalink
core/asm: remove unused condition (ethereum#16487)
Browse files Browse the repository at this point in the history
  • Loading branch information
dm4 authored and kimmyeonghun committed Jul 3, 2018
1 parent 4d03752 commit 82b73fe
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 82b73fe

Please sign in to comment.