From 49e38c970eb06d2da22e1fabf1775164ecb068e9 Mon Sep 17 00:00:00 2001 From: dm4 Date: Wed, 18 Apr 2018 07:08:31 +0800 Subject: [PATCH] core/asm: remove unused condition (#16487) --- core/asm/compiler.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/asm/compiler.go b/core/asm/compiler.go index 3059b0a21c..e2130957c3 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)) }