Disable #raw_union constants for the time being

This commit is contained in:
gingerBill
2025-09-29 12:54:52 +01:00
parent b711e92968
commit 240b2f1819
2 changed files with 2 additions and 7 deletions

View File

@@ -928,12 +928,6 @@ gb_internal lbValue lb_emit_call_internal(lbProcedure *p, lbValue value, lbValue
args[i] = LLVMBuildPointerCast(p->builder, args[i], param_type, "");
arg_type = param_type;
continue;
} else if (arg_kind == LLVMStructTypeKind) {
if (lb_sizeof(arg_type) == lb_sizeof(param_type)) {
args[i] = LLVMBuildBitCast(p->builder, args[i], param_type, "");
arg_type = param_type;
continue;
}
}
}
}