From 6883845641c30ac28b418b5e9e006f6d871c2026 Mon Sep 17 00:00:00 2001 From: dm4 Date: Wed, 11 Apr 2018 15:28:59 +0800 Subject: [PATCH] core/asm: remove unused condition. --- core/asm/compiler.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/asm/compiler.go b/core/asm/compiler.go index 18dc0877ff..ec46b77d66 100644 --- a/core/asm/compiler.go +++ b/core/asm/compiler.go @@ -247,9 +247,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)) }