forked from OSchip/llvm-project
Fixing a couple of wrong logical operator bugs.
llvm-svn: 364614
This commit is contained in:
parent
ecb7ac35f9
commit
9a89d657b1
|
@ -240,7 +240,7 @@ protected:
|
|||
image_infos_addr = LLDB_INVALID_ADDRESS;
|
||||
}
|
||||
|
||||
bool IsValid() const { return version >= 1 || version <= 2; }
|
||||
bool IsValid() const { return version >= 1 && version <= 2; }
|
||||
};
|
||||
|
||||
void RegisterNotificationCallbacks();
|
||||
|
|
|
@ -121,7 +121,7 @@ protected:
|
|||
dyldImageLoadAddress = LLDB_INVALID_ADDRESS;
|
||||
}
|
||||
|
||||
bool IsValid() const { return version >= 1 || version <= 6; }
|
||||
bool IsValid() const { return version >= 1 && version <= 6; }
|
||||
};
|
||||
|
||||
static lldb::ByteOrder GetByteOrderFromMagic(uint32_t magic);
|
||||
|
|
Loading…
Reference in New Issue