X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/81345200c95645a1b0d2635520f96ad55dfde63f..ed1e77d3adeb83d26fd1dfb16dd84cabdcefd250:/interpreter/JSStack.cpp?ds=inline diff --git a/interpreter/JSStack.cpp b/interpreter/JSStack.cpp index c6a703c..025fef0 100644 --- a/interpreter/JSStack.cpp +++ b/interpreter/JSStack.cpp @@ -97,8 +97,7 @@ bool JSStack::growSlowCase(Register* newTopOfStack) if (newCommitTop < reservationTop()) return false; - // Otherwise, the growth is still within our budget. Go ahead and commit - // it and return true. + // Otherwise, the growth is still within our budget. Commit it and return true. m_reservation.commit(newCommitTop, delta); addToCommittedByteCount(delta); m_commitTop = newCommitTop; @@ -118,7 +117,7 @@ void JSStack::gatherConservativeRoots(ConservativeRoots& conservativeRoots, JITS void JSStack::sanitizeStack() { -#if !defined(ADDRESS_SANITIZER) +#if !ASAN_ENABLED ASSERT(topOfStack() <= baseOfStack()); if (m_lastStackTop < topOfStack()) {