Bump to 0.3.7. Fixes issue with bitoperations on booleans.

This commit is contained in:
Christoffer Lerno
2022-08-10 11:01:14 +02:00
parent 9473adbc35
commit cfcf5cbc16
4 changed files with 34 additions and 1 deletions

View File

@@ -3277,6 +3277,11 @@ void gencontext_emit_binary(GenContext *c, BEValue *be_value, Expr *expr, BEValu
UNREACHABLE
}
assert(val);
if (lhs.type == type_bool)
{
llvm_value_set_bool(be_value, val);
return;
}
llvm_value_set(be_value, val, expr->type);
}