void WatchpointSet::fireAllSlow(VM& vm, const FireDetail& detail) { ASSERT(state() == IsWatched); WTF::storeStoreFence(); m_state = IsInvalidated; // Do this first. Needed for adaptive watchpoints. fireAllWatchpoints(vm, detail); WTF::storeStoreFence(); }
void WatchpointSet::notifyWriteSlow() { ASSERT(m_isWatched); fireAllWatchpoints(); m_isWatched = false; m_isInvalidated = true; WTF::storeStoreFence(); }