From 75a7746c8d840aa2b8a0bc5fb3a94162d37c58e8 Mon Sep 17 00:00:00 2001 From: scott-newcomer Date: Tue, 27 Apr 2021 13:56:37 -0500 Subject: [PATCH] add opcodes to toml file --- packages/@glimmer/vm/lib/opcodes.toml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/packages/@glimmer/vm/lib/opcodes.toml b/packages/@glimmer/vm/lib/opcodes.toml index 850ab98c0f..1348e3f04e 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"]