diff options
author | dm4 <sunrisedm4@gmail.com> | 2018-04-18 07:08:31 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-04-18 07:08:31 +0800 |
commit | 49e38c970eb06d2da22e1fabf1775164ecb068e9 (patch) | |
tree | fd254985ecae21f5a6f454b4530c9792482ea9e1 | |
parent | ba1030b6b84f810c04a82221a1b1c0a3dbf499a8 (diff) | |
download | dexon-49e38c970eb06d2da22e1fabf1775164ecb068e9.tar.gz dexon-49e38c970eb06d2da22e1fabf1775164ecb068e9.tar.zst dexon-49e38c970eb06d2da22e1fabf1775164ecb068e9.zip |
core/asm: remove unused condition (#16487)
-rw-r--r-- | core/asm/compiler.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/asm/compiler.go b/core/asm/compiler.go index 3059b0a21..e2130957c 100644 --- a/core/asm/compiler.go +++ b/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)) } |