diff options
| author | Jim Powers <jim@corruptmemory.com> | 2021-01-01 16:41:07 -0500 |
|---|---|---|
| committer | Jim Powers <jim@corruptmemory.com> | 2021-01-18 20:05:33 -0500 |
| commit | 24db60eb4b5ca48d57e1fb276ed640aea699d19a (patch) | |
| tree | 64e97f21ad6e25b6b9e048ef9a3758a1c97d0685 /src/ir_print.cpp | |
| parent | 53d8ec4d15d63977bb3c1f799dabd3c5b87558dd (diff) | |
Fix for `c_vararg` issue
Fixes #817
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp index 594cc57c2..d4a63506e 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -2310,7 +2310,7 @@ void ir_print_instr(irFileBuffer *f, irModule *m, irValue *value) { ir_print_type(f, m, t); ir_write_byte(f, ' '); ir_print_value(f, m, arg, t); - param_index++; + arg_index++; } } else { // GB_ASSERT(call->args.count == params->variables.count); |