This is causing some crashiness in release builds. We should replace it with an ASSERT until we track down all the places that need fixing in bug 118315.
<rdar://problem/14165332>
Created attachment 205935 [details] Patch
Comment on attachment 205935 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=205935&action=review > Source/JavaScriptCore/bytecode/CodeBlock.h:228 > + ASSERT(index < m_rareData->m_callReturnIndexVector.size()); > + if (index < m_rareData->m_callReturnIndexVector.size()) I think you have this backwards?
(In reply to comment #3) > (From update of attachment 205935 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=205935&action=review > > > Source/JavaScriptCore/bytecode/CodeBlock.h:228 > > + ASSERT(index < m_rareData->m_callReturnIndexVector.size()); > > + if (index < m_rareData->m_callReturnIndexVector.size()) > > I think you have this backwards? :-(
Created attachment 205936 [details] Patch
Comment on attachment 205936 [details] Patch r=me!
Committed r152314: <http://trac.webkit.org/changeset/152314>