Prefix unary ops with unary_ in tables
This commit is contained in:
parent
dc50ce64eb
commit
d929f49bc8
5 changed files with 26 additions and 50 deletions
|
@ -42,8 +42,8 @@ impl IrVar {
|
|||
(IrVar::new("<="), Func(vec![Int, Int], Box::new(Bool))),
|
||||
(IrVar::new(">"), Func(vec![Int, Int], Box::new(Bool))),
|
||||
(IrVar::new(">="), Func(vec![Int, Int], Box::new(Bool))),
|
||||
(IrVar::new("not"), Func(vec![Bool], Box::new(Bool))),
|
||||
(IrVar::new("neg"), Func(vec![Int], Box::new(Int))),
|
||||
(IrVar::new("unary_not"), Func(vec![Bool], Box::new(Bool))),
|
||||
(IrVar::new("unary_-"), Func(vec![Int], Box::new(Int))),
|
||||
(IrVar::new("or"), Func(vec![Bool, Bool], Box::new(Bool))),
|
||||
(IrVar::new("and"), Func(vec![Bool, Bool], Box::new(Bool))),
|
||||
])
|
||||
|
|
Reference in a new issue