diff options
| author | Mel <einebeere@gmail.com> | 2022-05-20 20:28:17 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2022-05-20 20:28:17 +0200 |
| commit | 6fe6e6546c4801f850d943c699fccdd5dc6ea723 (patch) | |
| tree | 560aab21c9e76047730773ac4bd694e570ffc06e /pkg/lang/vm/text/op.go | |
| parent | 20d84ae7ffd8a8e4c9397470e5b0459fec9a86ba (diff) | |
| download | jinx-6fe6e6546c4801f850d943c699fccdd5dc6ea723.tar.zst jinx-6fe6e6546c4801f850d943c699fccdd5dc6ea723.zip | |
Continuous VM stack implementation
Diffstat (limited to 'pkg/lang/vm/text/op.go')
| -rw-r--r-- | pkg/lang/vm/text/op.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/lang/vm/text/op.go b/pkg/lang/vm/text/op.go index bbcc2d4..df40d8f 100644 --- a/pkg/lang/vm/text/op.go +++ b/pkg/lang/vm/text/op.go @@ -15,12 +15,12 @@ var ( code.OpPushArray: "push_array", code.OpPushFunction: "push_function", code.OpPushObject: "push_object", + code.OpShift: "shift", code.OpDrop: "drop", code.OpGetGlobal: "get_global", code.OpGetLocal: "get_local", code.OpGetMember: "get_member", code.OpGetMethod: "get_method", - code.OpGetArg: "get_arg", code.OpGetEnv: "get_env", code.OpAdd: "add", code.OpSub: "sub", |
