mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-13 10:32:06 +00:00
Fix an apparent typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76183 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5024246167
commit
a62b5eded6
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user