| 418 | } |
| 419 | |
| 420 | static Error format_func_args( |
| 421 | String& sb, |
| 422 | FormatFlags format_flags, |
| 423 | const BaseCompiler* cc, |
| 424 | const FuncDetail& fd, |
| 425 | const FuncNode::ArgPack* arg_packs) noexcept { |
| 426 | |
| 427 | uint32_t arg_count = fd.arg_count(); |
| 428 | if (!arg_count) { |
| 429 | return sb.append("void"); |
| 430 | } |
| 431 | |
| 432 | for (uint32_t arg_index = 0; arg_index < arg_count; arg_index++) { |
| 433 | if (arg_index) { |
| 434 | ASMJIT_PROPAGATE(sb.append(", ")); |
| 435 | } |
| 436 | ASMJIT_PROPAGATE(format_func_value_pack(sb, format_flags, cc, fd.arg_pack(arg_index), arg_packs[arg_index]._data)); |
| 437 | } |
| 438 | |
| 439 | return Error::kOk; |
| 440 | } |
| 441 | #endif |
| 442 | |
| 443 | Error format_node( |
no test coverage detected