Skip to content

Commit

Permalink
add opcodes to toml file
Browse files Browse the repository at this point in the history
  • Loading branch information
snewcomer committed Feb 15, 2022
1 parent 518b33e commit c4948ec
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions packages/@glimmer/vm/lib/opcodes.toml
Expand Up @@ -206,6 +206,28 @@ operand-stack = [
["Reference"]
]

[syscall.eq]

format = ["Eq", "count:u32"]
operation = """
Inline equal expression
"""
operand-stack = [
["Reference"],
["Reference"]
]

[syscall.neq]

format = ["Neq", "count:u32"]
operation = """
Inline not equal expression
"""
operand-stack = [
["Reference"],
["Reference"]
]

[syscall.rconstload]

format = ["Constant", "constant:unknown"]
Expand Down

0 comments on commit c4948ec

Please sign in to comment.