projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5024246
)
Fix an apparent typo.
author
Dan Gohman
<gohman@apple.com>
Fri, 17 Jul 2009 16:12:36 +0000
(16:12 +0000)
committer
Dan Gohman
<gohman@apple.com>
Fri, 17 Jul 2009 16:12:36 +0000
(16:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76183
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Instructions.h
patch
|
blob
|
history
diff --git
a/include/llvm/Instructions.h
b/include/llvm/Instructions.h
index 6fa434cccfad5ecaafb4d92abd833d15118d8ad7..9a20a2fd0c204d23314d56fafe92b224198bf314 100644
(file)
--- a/
include/llvm/Instructions.h
+++ b/
include/llvm/Instructions.h
@@
-2398,7
+2398,7
@@
public:
/// @brief Determine if the call does not access memory.
bool doesNotAccessMemory() const {
- return paramHasAttr(0, Attribute::ReadNone);
+ return paramHasAttr(
~
0, Attribute::ReadNone);
}
void setDoesNotAccessMemory(bool NotAccessMemory = true) {
if (NotAccessMemory) addAttribute(~0, Attribute::ReadNone);