X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/2d39b0e377c0896910ee49ae70082ba665faf986..refs/heads/master:/dfg/DFGEdge.h?ds=sidebyside diff --git a/dfg/DFGEdge.h b/dfg/DFGEdge.h index 4ceda0c..7a05fab 100644 --- a/dfg/DFGEdge.h +++ b/dfg/DFGEdge.h @@ -115,10 +115,6 @@ public: { return proofStatus() == IsProved; } - bool needsCheck() const - { - return proofStatus() == NeedsCheck; - } bool willNotHaveCheck() const { @@ -205,13 +201,13 @@ private: ASSERT((shiftedValue >> shift()) == bitwise_cast(node)); ASSERT(useKind >= 0 && useKind < LastUseKind); ASSERT((static_cast(LastUseKind) << 2) <= (static_cast(2) << shift())); - return shiftedValue | (static_cast(useKind) << 2) | (DFG::doesKill(killStatus) << 1) | DFG::isProved(proofStatus); + return shiftedValue | (static_cast(useKind) << 2) | (DFG::doesKill(killStatus) << 1) | static_cast(DFG::isProved(proofStatus)); } #else static uintptr_t makeWord(UseKind useKind, ProofStatus proofStatus, KillStatus killStatus) { - return (static_cast(useKind) << 2) | (DFG::doesKill(killStatus) << 1) | DFG::isProved(proofStatus); + return (static_cast(useKind) << 2) | (DFG::doesKill(killStatus) << 1) | static_cast(DFG::isProved(proofStatus)); } Node* m_node;