aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ll.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/ll.cpp b/ll.cpp
index 41820e3..7e64b2c 100644
--- a/ll.cpp
+++ b/ll.cpp
@@ -277,6 +277,11 @@ static AST* parseCallExpr(const SExp& exp)
case '+': return new ASTPrimitive(Instruction::Add, params);
case '-': return new ASTPrimitive(Instruction::Sub, params);
case '*': return new ASTPrimitive(Instruction::Mul, params);
+ case '/': return new ASTPrimitive(Instruction::FDiv, params);
+ case '%': return new ASTPrimitive(Instruction::FRem, params);
+ case '&': return new ASTPrimitive(Instruction::And, params);
+ case '|': return new ASTPrimitive(Instruction::Or, params);
+ case '^': return new ASTPrimitive(Instruction::Xor, params);
}
}