From c61e995b316ba3382798492b03ab7d5a60002237 Mon Sep 17 00:00:00 2001 From: Mel Date: Tue, 12 Jul 2022 01:30:42 +0200 Subject: Add new binary ops to decompiler --- pkg/lang/vm/text/decompiler.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkg/lang/vm/text/decompiler.go b/pkg/lang/vm/text/decompiler.go index aca024c..b3c8bb4 100644 --- a/pkg/lang/vm/text/decompiler.go +++ b/pkg/lang/vm/text/decompiler.go @@ -59,10 +59,15 @@ func (d *Decompiler) decompileInstruction(bc code.Raw) (string, code.Raw) { code.OpAnchorType, code.OpAdd, code.OpSub, + code.OpMul, + code.OpDiv, code.OpMod, - code.OpIndex, + code.OpEq, code.OpLt, + code.OpGt, code.OpLte, + code.OpGte, + code.OpIndex, code.OpRet, code.OpTempArrLen, code.OpTempArrPush: -- cgit 1.4.1