diff options
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGAvailability.h')
| -rw-r--r-- | Source/JavaScriptCore/dfg/DFGAvailability.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGAvailability.h b/Source/JavaScriptCore/dfg/DFGAvailability.h index 507d816aa..fd9bf6529 100644 --- a/Source/JavaScriptCore/dfg/DFGAvailability.h +++ b/Source/JavaScriptCore/dfg/DFGAvailability.h @@ -81,26 +81,10 @@ public: return withNode(unavailableMarker()); } - void setFlush(FlushedAt flushedAt) - { - m_flushedAt = flushedAt; - } - - void setNode(Node* node) - { - m_node = node; - } - - void setNodeUnavailable() - { - m_node = unavailableMarker(); - } - bool nodeIsUndecided() const { return !m_node; } bool nodeIsUnavailable() const { return m_node == unavailableMarker(); } bool hasNode() const { return !nodeIsUndecided() && !nodeIsUnavailable(); } - bool shouldUseNode() const { return !isFlushUseful() && hasNode(); } Node* node() const { @@ -110,12 +94,6 @@ public: } FlushedAt flushedAt() const { return m_flushedAt; } - bool isFlushUseful() const - { - return flushedAt().format() != DeadFlush && flushedAt().format() != ConflictingFlush; - } - - bool isDead() const { return !isFlushUseful() && !hasNode(); } bool operator!() const { return nodeIsUnavailable() && flushedAt().format() == ConflictingFlush; } @@ -125,11 +103,6 @@ public: && m_flushedAt == other.m_flushedAt; } - bool operator!=(const Availability& other) const - { - return !(*this == other); - } - Availability merge(const Availability& other) const { return Availability( |
