mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Improved #foo resolution inside of the compiler.
Deprecation of several `&` macros.
This commit is contained in:
@@ -6826,7 +6826,7 @@ static void llvm_emit_int_to_bool(GenContext *c, BEValue *value, Expr *expr)
|
||||
Type *inner_type = value->type;
|
||||
if (inner_type->type_kind == TYPE_ARRAY)
|
||||
{
|
||||
assert(inner_type->array.base == type_char || inner_type->array.base == type_ichar);
|
||||
ASSERT0(inner_type->array.base == type_char || inner_type->array.base == type_ichar);
|
||||
llvm_value_addr(c, value);
|
||||
unsigned len = type_size(value->type);
|
||||
ASSERT0(len > 0);
|
||||
|
||||
Reference in New Issue
Block a user