Handle "splice splat" in the vararg slot as an expression.

This commit is contained in:
Christoffer Lerno
2024-09-06 10:43:03 +02:00
parent 1e570bf506
commit 28428fcf30
11 changed files with 77 additions and 65 deletions

View File

@@ -6091,9 +6091,9 @@ static void llvm_emit_call_expr(GenContext *c, BEValue *result_value, Expr *expr
Expr *vararg_splat = NULL;
Expr **varargs = NULL;
if (expr->call_expr.splat_vararg)
if (expr->call_expr.va_is_splat)
{
vararg_splat = expr->call_expr.splat;
vararg_splat = expr->call_expr.vasplat;
}
else
{