Fix a copy+pasto Duncan noticed.

llvm-svn: 118693
This commit is contained in:
Dan Gohman 2010-11-10 18:18:23 +00:00
parent 066c1bb1e9
commit ebfb6fb563
1 changed files with 2 additions and 2 deletions

View File

@ -276,8 +276,8 @@ public:
}
/// onlyAccessesArgPointees - Return true if functions with the specified
/// behavior are known to read at most from objects pointed to by their
/// pointer-typed arguments (with arbitrary offsets).
/// behavior are known to read and write at most from objects pointed to by
/// their pointer-typed arguments (with arbitrary offsets).
///
static bool onlyAccessesArgPointees(ModRefBehavior MRB) {
return !(MRB & Anywhere & ~ArgumentPointees);