summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Heap/Cell.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Heap/Cell.h')
-rw-r--r--Userland/Libraries/LibJS/Heap/Cell.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Heap/Cell.h b/Userland/Libraries/LibJS/Heap/Cell.h
index f2229c9e6e..6e3e107988 100644
--- a/Userland/Libraries/LibJS/Heap/Cell.h
+++ b/Userland/Libraries/LibJS/Heap/Cell.h
@@ -24,9 +24,12 @@ public:
bool is_marked() const { return m_mark; }
void set_marked(bool b) { m_mark = b; }
+ virtual void did_become_zombie() { }
+
enum class State {
Live,
Dead,
+ Zombie,
};
State state() const { return m_state; }