summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/runtime/JSCell.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/runtime/JSCell.h')
-rw-r--r--Source/JavaScriptCore/runtime/JSCell.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/JavaScriptCore/runtime/JSCell.h b/Source/JavaScriptCore/runtime/JSCell.h
index 0233f0fec..cdd409706 100644
--- a/Source/JavaScriptCore/runtime/JSCell.h
+++ b/Source/JavaScriptCore/runtime/JSCell.h
@@ -84,6 +84,8 @@ namespace JSC {
void setStructure(JSGlobalData&, Structure*);
void clearStructure() { m_structure.clear(); }
+ const char* className();
+
// Extracting the value.
JS_EXPORT_PRIVATE bool getString(ExecState* exec, UString&) const;
JS_EXPORT_PRIVATE UString getString(ExecState* exec) const; // null string if not a string
@@ -197,6 +199,8 @@ namespace JSC {
inline void JSCell::visitChildren(JSCell* cell, SlotVisitor& visitor)
{
+ MARK_LOG_PARENT(visitor, cell);
+
visitor.append(&cell->m_structure);
}