Author: baldrick Date: Fri Jan 25 23:27:18 2008 New Revision: 46390 URL: http://llvm.org/viewvc/llvm-project?rev=46390&view=rev Log: Correct comment.
Modified: llvm-gcc-4.2/trunk/gcc/llvm-types.cpp Modified: llvm-gcc-4.2/trunk/gcc/llvm-types.cpp URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-types.cpp?rev=46390&r1=46389&r2=46390&view=diff ============================================================================== --- llvm-gcc-4.2/trunk/gcc/llvm-types.cpp (original) +++ llvm-gcc-4.2/trunk/gcc/llvm-types.cpp Fri Jan 25 23:27:18 2008 @@ -1219,7 +1219,7 @@ DeclArgs = TREE_CHAIN(DeclArgs); } - // If we see a byval argument and if the function is 'readonly' we have to + // If we see a byval argument and if the function is 'readnone' we have to // demote the function to being 'readonly' instead. Not doing so would allow // optimizers to delete stores into the argument that is passed into the // function. @@ -1228,7 +1228,7 @@ Attrs[0].attrs &= ~ParamAttr::ReadNone; Attrs[0].attrs |= ParamAttr::ReadOnly; } - + // If the argument list ends with a void type node, it isn't vararg. isVarArg = (Args == 0); assert(RetTy && "Return type not specified!"); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits