Add comparisons to LLVM backend for multi pointers

This commit is contained in:
gingerBill
2021-08-21 23:12:15 +01:00
parent 6a77fc4cdd
commit 932f330a51

View File

@@ -1727,6 +1727,7 @@ lbValue lb_emit_comp(lbProcedure *p, TokenKind op_kind, lbValue left, lbValue ri
if (is_type_integer(a) ||
is_type_boolean(a) ||
is_type_pointer(a) ||
is_type_multi_pointer(a) ||
is_type_proc(a) ||
is_type_enum(a)) {
LLVMIntPredicate pred = {};