aboutsummaryrefslogtreecommitdiffstats
path: root/core/asm
diff options
context:
space:
mode:
authordm4 <sunrisedm4@gmail.com>2018-04-18 07:08:31 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-04-18 07:08:31 +0800
commit49e38c970eb06d2da22e1fabf1775164ecb068e9 (patch)
treefd254985ecae21f5a6f454b4530c9792482ea9e1 /core/asm
parentba1030b6b84f810c04a82221a1b1c0a3dbf499a8 (diff)
downloaddexon-49e38c970eb06d2da22e1fabf1775164ecb068e9.tar
dexon-49e38c970eb06d2da22e1fabf1775164ecb068e9.tar.gz
dexon-49e38c970eb06d2da22e1fabf1775164ecb068e9.tar.bz2
dexon-49e38c970eb06d2da22e1fabf1775164ecb068e9.tar.lz
dexon-49e38c970eb06d2da22e1fabf1775164ecb068e9.tar.xz
dexon-49e38c970eb06d2da22e1fabf1775164ecb068e9.tar.zst
dexon-49e38c970eb06d2da22e1fabf1775164ecb068e9.zip
core/asm: remove unused condition (#16487)
Diffstat (limited to 'core/asm')
-rw-r--r--core/asm/compiler.go3
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))
}