Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 37ab88d95aded9e95aa72f258336115a6ab35885..bf6a10ae1b95dadfd4ca3dfcc30423ec81762aaa 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -9574,14 +9574,16 @@ class PropertyCell: public Cell { |
class WeakCell : public HeapObject { |
public: |
- inline HeapObject* value() const; |
+ inline Object* value() const; |
// This should not be called by anyone except GC. |
- inline void clear(HeapObject* undefined); |
+ inline void clear(); |
// This should not be called by anyone except allocator. |
inline void initialize(HeapObject* value); |
+ inline bool cleared() const; |
+ |
DECL_ACCESSORS(next, Object) |
DECLARE_CAST(WeakCell) |