static_inst.hh (12104:edd63f9c6184) static_inst.hh (12614:0bc465e1f5fb)
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;

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

64 std::string
65 generateDisassembly(Addr pc, const SymbolTable *symtab) const;
66
67 void
68 advancePC(PowerISA::PCState &pcState) const
69 {
70 pcState.advance();
71 }
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;

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

64 std::string
65 generateDisassembly(Addr pc, const SymbolTable *symtab) const;
66
67 void
68 advancePC(PowerISA::PCState &pcState) const
69 {
70 pcState.advance();
71 }
72
73 size_t
74 asBytes(void *buf, size_t max_size) override
75 {
76 return simpleAsBytes(buf, max_size, machInst);
77 }
72};
73
74} // namespace PowerISA
75
76#endif //__ARCH_POWER_INSTS_STATICINST_HH__
78};
79
80} // namespace PowerISA
81
82#endif //__ARCH_POWER_INSTS_STATICINST_HH__