diff options
Diffstat (limited to 'pkg/lang/vm/text')
| -rw-r--r-- | pkg/lang/vm/text/decompiler.go | 4 | ||||
| -rw-r--r-- | pkg/lang/vm/text/op.go | 3 |
2 files changed, 1 insertions, 6 deletions
diff --git a/pkg/lang/vm/text/decompiler.go b/pkg/lang/vm/text/decompiler.go index ed48412..ba08f1c 100644 --- a/pkg/lang/vm/text/decompiler.go +++ b/pkg/lang/vm/text/decompiler.go @@ -78,9 +78,7 @@ func (d *Decompiler) decompileInstruction(bc code.Raw) (string, code.Raw) { code.OpGte, code.OpIndex, code.OpSetAtIndex, - code.OpRet, - code.OpTempArrLen, - code.OpTempArrPush: + code.OpRet: return opString, bc[1:] // Operations that take an int. diff --git a/pkg/lang/vm/text/op.go b/pkg/lang/vm/text/op.go index 213656b..d94ff1b 100644 --- a/pkg/lang/vm/text/op.go +++ b/pkg/lang/vm/text/op.go @@ -46,9 +46,6 @@ var ( code.OpJt: "jt", code.OpJf: "jf", code.OpRet: "ret", - - code.OpTempArrPush: "temp_arr_push", - code.OpTempArrLen: "temp_arr_len", } stringToOp = reverseMap(opToString) ) |
