<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [ARM] REGRESSION(r203786): jit.m_assembler.buffer().codeSize() &lt;= static_cast&lt;size_t&gt;(m_inlineSize)"
   href="https://bugs.webkit.org/show_bug.cgi?id=160291">160291</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[ARM] REGRESSION(r203786): jit.m_assembler.buffer().codeSize() &lt;= static_cast&lt;size_t&gt;(m_inlineSize)
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Critical
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P1
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>JavaScriptCore
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ossy&#64;webkit.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>mark.lam&#64;apple.com, sbarati&#64;apple.com
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>108645, 160110
          </td>
        </tr></table>
      <p>
        <div>
        <pre><a href="https://trac.webkit.org/changeset/203786">https://trac.webkit.org/changeset/203786</a> changed the IC code and made zillion tests assert/crash again. :(
Before r203786, almost all tests passed with the patch in <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [ARM] ASSERTION FAILED: linkBuffer.isValid() in InlineAccess.cpp:291 after r202214 and r203537"
   href="show_bug.cgi?id=159720">https://bugs.webkit.org/show_bug.cgi?id=159720</a> .
But after r203786 I got the following assert:

ASSERTION FAILED: jit.m_assembler.buffer().codeSize() &lt;= static_cast&lt;size_t&gt;(m_inlineSize)
../../Source/JavaScriptCore/jit/JITMathIC.h(135) : JSC::JITMathIC&lt;Generator&gt;::generateOutOfLine(JSC::VM&amp;, JSC::CodeBlock*, JSC::FunctionPtr)::&lt;lambda()&gt; [with GeneratorType = JSC::JITAddGenerator]
1   0xb64318e0 WTFCrash
2   0xb5f3efb8 JSC::JITMathIC&lt;JSC::JITAddGenerator&gt;::generateOutOfLine(JSC::VM&amp;, JSC::CodeBlock*, JSC::FunctionPtr)::{lambda()#1}::operator()() const
3   0xb5f3f438 JSC::JITMathIC&lt;JSC::JITAddGenerator&gt;::generateOutOfLine(JSC::VM&amp;, JSC::CodeBlock*, JSC::FunctionPtr)
4   0xb5f35d1c
Segmentation fault

---
jit.m_assembler.buffer().codeSize() = 12
static_cast&lt;size_t&gt;(m_inlineSize) = 4

Could you give me some hint what changed here? 
Why isn't there enough space to use ldr + b + immediate (12 bytes) for jump?

Could you share me how long will you work refactoring this IC thing?
I won't have time to fix new and new regressions every day. Maybe I 
simply let ARMAssembler completely broken until you finish this 
development, and then try to debug all regression. Maybe let it
broken forever, who knows.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>