2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

py2llvm/values: fix arity of 'not'

This commit is contained in:
Sebastien Bourdeauducq 2014-09-06 18:18:08 +08:00
parent a647e1104d
commit 2ef187b7d3

View File

@ -432,7 +432,7 @@ def _make_operators():
for op_name in ("bool", "int", "int64", "round", "round64",
"inv", "pos", "neg"):
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",
"truediv", "floordiv", "mod",
"pow", "lshift", "rshift", "xor",