summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem')
-rw-r--r--src/mem/slicc/ast/OperatorExprAST.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem/slicc/ast/OperatorExprAST.py b/src/mem/slicc/ast/OperatorExprAST.py
index df074b9f0..f449a358a 100644
--- a/src/mem/slicc/ast/OperatorExprAST.py
+++ b/src/mem/slicc/ast/OperatorExprAST.py
@@ -69,6 +69,8 @@ class InfixOperatorExprAST(ExprAST):
("Cycles", "Cycles", "Cycles"),
("Cycles", "int", "Cycles"),
("Scalar", "int", "Scalar"),
+ ("int", "bool", "int"),
+ ("bool", "int", "int"),
("int", "Cycles", "Cycles")]
else:
self.error("No operator matched with {0}!" .format(self.op))