diff --git a/packages/@glimmer/vm/lib/opcodes.toml b/packages/@glimmer/vm/lib/opcodes.toml index 850ab98c0..1348e3f04 100644 --- a/packages/@glimmer/vm/lib/opcodes.toml +++ b/packages/@glimmer/vm/lib/opcodes.toml @@ -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"]