void SymbolTableEntry::notifyWriteSlow() { WatchpointSet* watchpoints = fatEntry()->m_watchpoints.get(); if (!watchpoints) return; watchpoints->notifyWrite(); }
void SymbolTableEntry::notifyWriteSlow(JSValue value) { VariableWatchpointSet* watchpoints = fatEntry()->m_watchpoints.get(); if (!watchpoints) return; watchpoints->notifyWrite(value); }
bool SymbolTableEntry::couldBeWatched() { if (!isFat()) return false; WatchpointSet* watchpoints = fatEntry()->m_watchpoints.get(); if (!watchpoints) return false; return watchpoints->isStillValid(); }
bool SymbolTableEntry::couldBeWatched() { if (!isFat()) return false; WatchpointSet* watchpoints = fatEntry()->m_watchpoints.get(); if (!watchpoints) return false; return watchpoints->state() == IsWatched; }
void SymbolTableEntry::addWatchpoint(Watchpoint* watchpoint) { ASSERT(couldBeWatched()); fatEntry()->m_watchpoints->add(watchpoint); }
bool* SymbolTableEntry::addressOfIsWatched() { ASSERT(couldBeWatched()); return fatEntry()->m_watchpoints->addressOfIsWatched(); }
void SymbolTableEntry::freeFatEntrySlow() { ASSERT(isFat()); delete fatEntry(); }
void SymbolTableEntry::addWatchpoint(Watchpoint* watchpoint) { fatEntry()->m_watchpoints->add(watchpoint); }
JSValue SymbolTableEntry::inferredValue() { if (!isFat()) return JSValue(); return fatEntry()->m_watchpoints->inferredValue(); }