diff options
| author | Mel <einebeere@gmail.com> | 2022-07-11 11:07:51 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2022-07-11 11:07:51 +0200 |
| commit | 74dd678dfd1aae9e655fd13cb65278ea9ba307e2 (patch) | |
| tree | 6dc757259edb4f7163e0563c9acec2a239f56d80 /pkg/lang/vm/text/decompiler.go | |
| parent | 7a60e91c8c45663127cfa3aa31a14c930f717aeb (diff) | |
| download | jinx-74dd678dfd1aae9e655fd13cb65278ea9ba307e2.tar.zst jinx-74dd678dfd1aae9e655fd13cb65278ea9ba307e2.zip | |
Reimplement argument counts
Diffstat (limited to 'pkg/lang/vm/text/decompiler.go')
| -rw-r--r-- | pkg/lang/vm/text/decompiler.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/lang/vm/text/decompiler.go b/pkg/lang/vm/text/decompiler.go index bef066b..aca024c 100644 --- a/pkg/lang/vm/text/decompiler.go +++ b/pkg/lang/vm/text/decompiler.go @@ -75,6 +75,7 @@ func (d *Decompiler) decompileInstruction(bc code.Raw) (string, code.Raw) { code.OpGetEnv, code.OpSetEnv, code.OpAddToEnv, + code.OpSetArgCount, code.OpCall: i, rest := d.decompileInt(bc[1:]) return fmt.Sprintf("%s %s", opString, i), rest |
