<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 - [jsc][dfg] Don't use DFG intrinsic for HasOwnProperty on MIPS"
   href="https://bugs.webkit.org/show_bug.cgi?id=170222">170222</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[jsc][dfg] Don't use DFG intrinsic for HasOwnProperty on MIPS
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </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>guijemont&#64;igalia.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>We don't have enough registers for the generic version of the intrinsic, and simply using the X86 version on MIPS makes some stress tests crash.

  stress/has-own-property-name-cache-string-keys.js
  DFG ASSERTION FAILED: Edge verification error: &#64;80-&gt;Check:String:&#64;57 was expected to have type String but has type Top (14898167807)
  ../Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h(134) : void JSC::DFG::AbstractInterpreter&lt;AbstractStateType&gt;::verifyEdge(JSC::DFG::Node*, JSC::DFG
  ::Edge) [with AbstractStateType = JSC::DFG::InPlaceAbstractState]

and

  JSTests/stress/has-own-property-name-cache-symbol-keys.js
  DFG ASSERTION FAILED: Edge verification error: &#64;80-&gt;Check:Symbol:&#64;57 was expected to have type Symbol but has type Top (14898167807)
  ../Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h(134) : void JSC::DFG::AbstractInterpreter&lt;AbstractStateType&gt;::verifyEdge(JSC::DFG::Node*, JSC::DFG
  ::Edge) [with AbstractStateType = JSC::DFG::InPlaceAbstractState]


Ideally we should see if we can fix the X86 version or make a MIPS variant of it (I started playing with that but don't have it working yet), in the mean time, I think we should deactivate the intrinsic on MIPS.</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>