Exemplo n.º 1
0
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);
}
Exemplo n.º 3
0
bool SymbolTableEntry::couldBeWatched()
{
    if (!isFat())
        return false;
    WatchpointSet* watchpoints = fatEntry()->m_watchpoints.get();
    if (!watchpoints)
        return false;
    return watchpoints->isStillValid();
}
Exemplo n.º 4
0
bool SymbolTableEntry::couldBeWatched()
{
    if (!isFat())
        return false;
    WatchpointSet* watchpoints = fatEntry()->m_watchpoints.get();
    if (!watchpoints)
        return false;
    return watchpoints->state() == IsWatched;
}
Exemplo n.º 5
0
void SymbolTableEntry::addWatchpoint(Watchpoint* watchpoint)
{
    ASSERT(couldBeWatched());
    fatEntry()->m_watchpoints->add(watchpoint);
}
Exemplo n.º 6
0
bool* SymbolTableEntry::addressOfIsWatched()
{
    ASSERT(couldBeWatched());
    return fatEntry()->m_watchpoints->addressOfIsWatched();
}
Exemplo n.º 7
0
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();
}