X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/81345200c95645a1b0d2635520f96ad55dfde63f..refs/heads/master:/runtime/ArrayBufferNeuteringWatchpoint.h diff --git a/runtime/ArrayBufferNeuteringWatchpoint.h b/runtime/ArrayBufferNeuteringWatchpoint.h index 96dbd69..ab26f03 100644 --- a/runtime/ArrayBufferNeuteringWatchpoint.h +++ b/runtime/ArrayBufferNeuteringWatchpoint.h @@ -31,27 +31,27 @@ 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 m_set; };