diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2006-06-10 19:58:36 -0400 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2006-06-10 19:58:36 -0400 |
commit | 39f85a1de44789bf0afd1d492167d4fe4601bd82 (patch) | |
tree | 4a3347baad6d92abd624f7b7ad4f55489c1b34dd /ext | |
parent | cd6550473957258130a549ef74e2f18102b8c881 (diff) | |
download | gem5-39f85a1de44789bf0afd1d492167d4fe4601bd82.tar.xz |
Only allow SimObject classes to be instantiated (no cloning!).
Provide a makeClass() method to generate a new class using
a SimObject instance as a template.
All instantiation, subclassing, and class generation is done
recursively using "deep copy"-style memoization to maintain
object relationships in the face of multiple references to
shared objects/classes.
src/python/m5/multidict.py:
Rename local dict attribute from 'dict' to 'local'
for clarity.
--HG--
extra : convert_revision : 73ed6836216308709d7bb68d09f8131acd5f1822
Diffstat (limited to 'ext')
0 files changed, 0 insertions, 0 deletions