types.hh (12450:b5a0300fc327) types.hh (12453:424595e0a14e)
1/*
2 * Copyright (c) 2010, 2012-2013, 2017 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 723 unchanged lines hidden (view full) ---

732 return false;
733 default:
734 return true;
735 }
736 }
737
738} // namespace ArmISA
739
1/*
2 * Copyright (c) 2010, 2012-2013, 2017 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 723 unchanged lines hidden (view full) ---

732 return false;
733 default:
734 return true;
735 }
736 }
737
738} // namespace ArmISA
739
740namespace std {
741
742template<>
743struct hash<ArmISA::ExtMachInst> :
744 public hash<ArmISA::ExtMachInst::__StorageType> {
745
746 size_t operator()(const ArmISA::ExtMachInst &emi) const {
747 return hash<ArmISA::ExtMachInst::__StorageType>::operator()(emi);
748 }
749
750};
751
752}
753
754#endif
740#endif