]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - runtime/ArrayBufferNeuteringWatchpoint.h
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / runtime / ArrayBufferNeuteringWatchpoint.h
index 96dbd69c77063b8d7952badda6496a68732a779c..ab26f0332b5404b53dd774f32f7505bf413b4fcf 100644 (file)
 
 namespace JSC {
 
-class ArrayBufferNeuteringWatchpoint : public JSCell {
+class ArrayBufferNeuteringWatchpoint final : public JSCell {
 public:
     typedef JSCell Base;
-    
-private:
-    ArrayBufferNeuteringWatchpoint(VM&);
-    
-public:
+    static const unsigned StructureFlags = Base::StructureFlags | StructureIsImmortal;
+
     DECLARE_INFO;
     
     static ArrayBufferNeuteringWatchpoint* create(VM&);
 
     static const bool needsDestruction = true;
-    static const bool hasImmortalStructure = true;
     static void destroy(JSCell*);
     
     static Structure* createStructure(VM&);
     
     WatchpointSet* set() { return m_set.get(); }
+    
+    void fireAll();
 
 private:
+    explicit ArrayBufferNeuteringWatchpoint(VM&);
+    
     RefPtr<WatchpointSet> m_set;
 };