diff options
| author | Mel <einebeere@gmail.com> | 2022-07-19 02:27:19 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2022-07-19 02:27:19 +0200 |
| commit | b6fa4bc82398b09307f2e6b75e27422d1d1ecb33 (patch) | |
| tree | e5b7aec7eb7f72f1c2f55e4b2a78d331bd81485e /pkg/lang/vm/text | |
| parent | e06aeb7fa2fcb9046b8861ed3c23417555e823f5 (diff) | |
| download | jinx-b6fa4bc82398b09307f2e6b75e27422d1d1ecb33.tar.zst jinx-b6fa4bc82398b09307f2e6b75e27422d1d1ecb33.zip | |
Implement stack hygiene
Diffstat (limited to 'pkg/lang/vm/text')
| -rw-r--r-- | pkg/lang/vm/text/decompiler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/lang/vm/text/decompiler.go b/pkg/lang/vm/text/decompiler.go index b3c8bb4..2b4e704 100644 --- a/pkg/lang/vm/text/decompiler.go +++ b/pkg/lang/vm/text/decompiler.go @@ -55,7 +55,6 @@ func (d *Decompiler) decompileInstruction(bc code.Raw) (string, code.Raw) { code.OpPushNull, code.OpPushArray, code.OpPushObject, - code.OpDrop, code.OpAnchorType, code.OpAdd, code.OpSub, @@ -75,6 +74,7 @@ func (d *Decompiler) decompileInstruction(bc code.Raw) (string, code.Raw) { // Operations that take an int. case code.OpPushInt, + code.OpDrop, code.OpGetLocal, code.OpSetLocal, code.OpGetEnv, |
