exetrace.hh (4054:3d617b3be4fa) exetrace.hh (4074:f2c4afa8cd46)
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
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;

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

152
153inline InstRecord *
154getInstRecord(Tick when, ThreadContext *tc, const StaticInstPtr staticInst,
155 Addr pc)
156{
157 if (!IsOn(ExecEnable))
158 return NULL;
159
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
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;

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

152
153inline InstRecord *
154getInstRecord(Tick when, ThreadContext *tc, const StaticInstPtr staticInst,
155 Addr pc)
156{
157 if (!IsOn(ExecEnable))
158 return NULL;
159
160 if (!Trace::enabled)
161 return NULL;
162
160 if (!IsOn(ExecSpeculative) && tc->misspeculating())
161 return NULL;
162
163 return new InstRecord(when, tc, staticInst, pc, tc->misspeculating());
164}
165
166/* namespace Trace */ }
167
168#endif // __EXETRACE_HH__
163 if (!IsOn(ExecSpeculative) && tc->misspeculating())
164 return NULL;
165
166 return new InstRecord(when, tc, staticInst, pc, tc->misspeculating());
167}
168
169/* namespace Trace */ }
170
171#endif // __EXETRACE_HH__