From 82b73fee7ec53936f346f18b2d582f7d8f01aae4 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 e2b1c083d624..b875be0ac06f 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)) }