llvm.org GIT mirror llvm / 0c49a9b
Increment arg_count inside the loop in printInline. Patch by Joe Matarazzo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187477 91177308-0d34-0410-b5e6-96231b3b80d8 Craig Topper 7 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
18311831 unsigned arg_count = 1;
18321832 for (Function::const_arg_iterator AI = F->arg_begin(), AE = F->arg_end();
18331833 AI != AE; ++AI) {
1834 Out << ", Value* arg_" << arg_count;
1834 Out << ", Value* arg_" << arg_count++;
18351835 }
18361836 Out << ") {";
18371837 nl(Out);