Index: Source/bindings/scripts/v8_types.py |
diff --git a/Source/bindings/scripts/v8_types.py b/Source/bindings/scripts/v8_types.py |
index e10a5703bb78f176cb0e77dd130b8f0cf072c9d7..a4d99391611c16b8a2322cc7873ebd235a883786 100644 |
--- a/Source/bindings/scripts/v8_types.py |
+++ b/Source/bindings/scripts/v8_types.py |
@@ -314,6 +314,13 @@ def gc_type(idl_type): |
IdlTypeBase.gc_type = property(gc_type) |
+def is_traceable(idl_type): |
+ return (idl_type.is_garbage_collected |
+ or idl_type.is_will_be_garbage_collected) |
+ |
+IdlTypeBase.is_traceable = property(is_traceable) |
+ |
+ |
################################################################################ |
# Includes |
################################################################################ |