mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
Incorrect index on sret. Explicit fallthrough annotation on type_is_homogenous_base_type.
This commit is contained in:
@@ -435,7 +435,7 @@ static void llvm_emit_param_attributes(GenContext *context, LLVMValueRef functio
|
||||
}
|
||||
if (is_return)
|
||||
{
|
||||
llvm_attribute_add(context, function, attribute_sret, index);
|
||||
llvm_attribute_add(context, function, attribute_sret, 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user