forked from M-Labs/artiq
py2llvm/values: fix arity of 'not'
This commit is contained in:
parent
a647e1104d
commit
2ef187b7d3
|
@ -432,7 +432,7 @@ def _make_operators():
|
||||||
for op_name in ("bool", "int", "int64", "round", "round64",
|
for op_name in ("bool", "int", "int64", "round", "round64",
|
||||||
"inv", "pos", "neg"):
|
"inv", "pos", "neg"):
|
||||||
d[op_name] = _make_unary_operator(op_name)
|
d[op_name] = _make_unary_operator(op_name)
|
||||||
d["not_"] = _make_binary_operator("not")
|
d["not_"] = _make_unary_operator("not")
|
||||||
for op_name in ("add", "sub", "mul",
|
for op_name in ("add", "sub", "mul",
|
||||||
"truediv", "floordiv", "mod",
|
"truediv", "floordiv", "mod",
|
||||||
"pow", "lshift", "rshift", "xor",
|
"pow", "lshift", "rshift", "xor",
|
||||||
|
|
Loading…
Reference in New Issue