arm_types: Provide the not-equals operator overload for LocationDescriptor
Generally if == has an overload, != should be provided for symmetry.
This commit is contained in:
parent
13908c5a58
commit
1d8432487d
1 changed files with 4 additions and 0 deletions
|
@ -86,6 +86,10 @@ struct LocationDescriptor {
|
|||
return std::tie(arm_pc, tflag, eflag, fpscr) == std::tie(o.arm_pc, o.tflag, o.eflag, o.fpscr);
|
||||
}
|
||||
|
||||
bool operator != (const LocationDescriptor& o) const {
|
||||
return !operator==(o);
|
||||
}
|
||||
|
||||
LocationDescriptor SetPC(u32 new_arm_pc) const {
|
||||
return LocationDescriptor(new_arm_pc, tflag, eflag, fpscr);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue