mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
stop using arg_front
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20599 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1079,7 +1079,7 @@ void CWriter::printFunctionSignature(const Function *F, bool Prototype) {
|
||||
std::string ArgName;
|
||||
if (F->arg_begin()->hasName() || !Prototype)
|
||||
ArgName = Mang->getValueName(F->arg_begin());
|
||||
printType(FunctionInnards, F->arg_front().getType(), ArgName);
|
||||
printType(FunctionInnards, F->arg_begin()->getType(), ArgName);
|
||||
for (Function::const_arg_iterator I = ++F->arg_begin(), E = F->arg_end();
|
||||
I != E; ++I) {
|
||||
FunctionInnards << ", ";
|
||||
|
Reference in New Issue
Block a user