mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fold default args in non-debug.
This commit is contained in:
@@ -7069,6 +7069,7 @@ static void llvm_emit_default_arg(GenContext *c, BEValue *value, Expr *expr)
|
||||
else
|
||||
{
|
||||
llvm_emit_expr(c, value, expr->default_arg_expr.inner);
|
||||
llvm_value_fold_optional(c, value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user