style: remove trailing whitespace
Result of running 'hg m5style --skip-all --fix-white -a'.
This commit is contained in:
@@ -50,7 +50,7 @@ class Root(SimObject):
|
||||
# args. Seems like a bad design but that's the way it is.
|
||||
Root._the_instance = SimObject.__new__(cls)
|
||||
return Root._the_instance
|
||||
|
||||
|
||||
@classmethod
|
||||
def getInstance(cls):
|
||||
return Root._the_instance
|
||||
|
||||
@@ -263,9 +263,9 @@ Event::unserialize(CheckpointIn &cp)
|
||||
|
||||
// Old checkpoints had no concept of the Initialized flag
|
||||
// so restoring from old checkpoints always fail.
|
||||
// Events are initialized on construction but original code
|
||||
// "flags = _flags" would just overwrite the initialization.
|
||||
// So, read in the checkpoint flags, but then set the Initialized
|
||||
// Events are initialized on construction but original code
|
||||
// "flags = _flags" would just overwrite the initialization.
|
||||
// So, read in the checkpoint flags, but then set the Initialized
|
||||
// flag on top of it in order to avoid failures.
|
||||
assert(initialized());
|
||||
flags = _flags;
|
||||
|
||||
@@ -95,7 +95,7 @@ inline void curEventQueue(EventQueue *q) { _curEventQueue = q; }
|
||||
*/
|
||||
class EventBase
|
||||
{
|
||||
protected:
|
||||
protected:
|
||||
typedef unsigned short FlagsType;
|
||||
typedef ::Flags<FlagsType> Flags;
|
||||
|
||||
|
||||
@@ -183,7 +183,7 @@ class InstRecord
|
||||
void setPredicate(bool val) { predicate = val; }
|
||||
|
||||
virtual void dump() = 0;
|
||||
|
||||
|
||||
public:
|
||||
Tick getWhen() const { return when; }
|
||||
ThreadContext *getThread() const { return thread; }
|
||||
|
||||
@@ -645,7 +645,7 @@ switchcpu(ThreadContext *tc)
|
||||
}
|
||||
|
||||
//
|
||||
// This function is executed when annotated work items begin. Depending on
|
||||
// This function is executed when annotated work items begin. Depending on
|
||||
// what the user specified at the command line, the simulation may exit and/or
|
||||
// take a checkpoint when a certain work item begins.
|
||||
//
|
||||
@@ -708,7 +708,7 @@ workbegin(ThreadContext *tc, uint64_t workid, uint64_t threadid)
|
||||
}
|
||||
|
||||
//
|
||||
// This function is executed when annotated work items end. Depending on
|
||||
// This function is executed when annotated work items end. Depending on
|
||||
// what the user specified at the command line, the simulation may exit and/or
|
||||
// take a checkpoint when a certain work item ends.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user