feat(tvix/eval): implement equality operator
Change-Id: I9dd54aed72cd7e67593dc76f5a046ebbda40c26f Reviewed-on: https://cl.tvl.fyi/c/depot/+/6078 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
parent
28f57abac1
commit
ded0fb9e21
3 changed files with 25 additions and 8 deletions
|
|
@ -78,7 +78,7 @@ impl Compiler {
|
|||
BinOpKind::Sub => OpCode::OpSub,
|
||||
BinOpKind::Mul => OpCode::OpMul,
|
||||
BinOpKind::Div => OpCode::OpDiv,
|
||||
|
||||
BinOpKind::Equal => OpCode::OpEqual,
|
||||
_ => todo!(),
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue