Bug 1129271 - Follow-up fix to bug 1125930 for GDB support. r=jandem.

--HG--
extra : rebase_source : f5770c7eb59f4853aab406572867e7ca23639370
extra : amend_source : 1b4cc04dedd8d1aeea7903bf6bf0054895b21f64
This commit is contained in:
Jason Orendorff 2015-02-03 20:47:18 -06:00
parent 310173951f
commit 074ea6c459

View File

@ -34,8 +34,8 @@ class JSObjectPtrOrRef(prettyprinters.Pointer):
def summary(self):
shape = deref(self.value['shape_'])
baseshape = deref(shape['base_'])
otype = deref(self.value['type_'])
class_name = otype['clasp_']['name'].string()
group = deref(self.value['group_'])
class_name = group['clasp_']['name'].string()
flags = baseshape['flags']
is_delegate = bool(flags & self.otc.flag_DELEGATE)
name = None