diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-15 05:03:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-15 05:03:36 +0000 |
commit | 39220ded940aa408d5dce9b8ab33e87e1d7a23d7 (patch) | |
tree | d15024e14fcb036d1b0a7206d386de498c35aaf1 /lib/VMCore | |
parent | c5e7df1d606fd4d394344f0322a6fe9c488b4000 (diff) | |
download | external_llvm-39220ded940aa408d5dce9b8ab33e87e1d7a23d7.zip external_llvm-39220ded940aa408d5dce9b8ab33e87e1d7a23d7.tar.gz external_llvm-39220ded940aa408d5dce9b8ab33e87e1d7a23d7.tar.bz2 |
stop using arg_front
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20599 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/AsmWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 3f72cfb..1049f96 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -956,7 +956,7 @@ void AssemblyWriter::printFunction(const Function *F) { /// void AssemblyWriter::printArgument(const Argument *Arg) { // Insert commas as we go... the first arg doesn't get a comma - if (Arg != &Arg->getParent()->arg_front()) Out << ", "; + if (Arg != Arg->getParent()->arg_begin()) Out << ", "; // Output type... printType(Arg->getType()); |