projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be7ac17
)
sim: Add a clear_parent function to NullSimObject.
author
Gabe Black
<gabeblack@google.com>
Mon, 25 Sep 2017 22:35:14 +0000
(15:35 -0700)
committer
Gabe Black
<gabeblack@google.com>
Tue, 26 Sep 2017 21:17:07 +0000
(21:17 +0000)
Change-Id: I3842176f147997105fcc62aaf9cb93b9896708be
Reviewed-on: https://gem5-review.googlesource.com/4843
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/python/m5/params.py
patch
|
blob
|
history
diff --git
a/src/python/m5/params.py
b/src/python/m5/params.py
index 7a28e63c7952fce52d47ade4757d3b4dc0553d74..6c3c47e95ae2e263933f83125bab82628fb9c270 100644
(file)
--- a/
src/python/m5/params.py
+++ b/
src/python/m5/params.py
@@
-1713,6
+1713,9
@@
class NullSimObject(object):
def set_parent(self, parent, name):
pass
+ def clear_parent(self, old_parent):
+ pass
+
def __str__(self):
return 'Null'