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 Apr 27, 2021
1 parent 844f62c commit 656676e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions packages/@glimmer/vm/lib/opcodes.toml
Original file line number Diff line number Diff line change
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 656676e

Please sign in to comment.