diff options
Diffstat (limited to 'core/asm/compiler.go')
-rw-r--r-- | core/asm/compiler.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/asm/compiler.go b/core/asm/compiler.go index b2c85375c..318c4e4d8 100644 --- a/core/asm/compiler.go +++ b/core/asm/compiler.go @@ -237,10 +237,7 @@ func (c *Compiler) pushBin(v interface{}) { // isPush returns whether the string op is either any of // push(N). func isPush(op string) bool { - if op == "push" { - return true - } - return false + return op == "push" } // isJump returns whether the string op is jump(i) |