summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/python/m5/params.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/python/m5/params.py b/src/python/m5/params.py
index 7a1eec84b..776fbe22b 100644
--- a/src/python/m5/params.py
+++ b/src/python/m5/params.py
@@ -245,10 +245,12 @@ class VectorParamValue(list):
return [ v.getValue() for v in self ]
def unproxy(self, base):
- if len(self) == 1 and isinstance(self[0], proxy.AllProxy):
+ if len(self) == 1 and isinstance(self[0], proxy.BaseProxy):
+ # The value is a proxy (e.g. Parent.any, Parent.all or
+ # Parent.x) therefore try resolve it
return self[0].unproxy(base)
else:
- return [v.unproxy(base) for v in self]
+ return [v.unproxy(base) for v in self]
class SimObjectVector(VectorParamValue):
# support clone operation