types.hh (7720:65d338a8dba4) types.hh (7811:a8fc35183c10)
1/*
2 * Copyright (c) 2009 The University of Edinburgh
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

96
97template<>
98struct hash<PowerISA::ExtMachInst> : public hash<uint32_t> {
99 size_t operator()(const PowerISA::ExtMachInst &emi) const {
100 return hash<uint32_t>::operator()((uint32_t)emi);
101 };
102};
103
1/*
2 * Copyright (c) 2009 The University of Edinburgh
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

96
97template<>
98struct hash<PowerISA::ExtMachInst> : public hash<uint32_t> {
99 size_t operator()(const PowerISA::ExtMachInst &emi) const {
100 return hash<uint32_t>::operator()((uint32_t)emi);
101 };
102};
103
104} // __hash_namespace namespace
104} // namespace __hash_namespace
105
106#endif // __ARCH_POWER_TYPES_HH__
105
106#endif // __ARCH_POWER_TYPES_HH__