<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Function.prototype.bind: Bound functions must use the [[Prototype]] of their target function instead of Function.prototype"
   href="https://bugs.webkit.org/show_bug.cgi?id=145605#c30">Comment # 30</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Function.prototype.bind: Bound functions must use the [[Prototype]] of their target function instead of Function.prototype"
   href="https://bugs.webkit.org/show_bug.cgi?id=145605">bug 145605</a>
              from <span class="vcard"><a class="email" href="mailto:matthew.jh&#64;outlook.com" title="Matthew Hill &lt;matthew.jh&#64;outlook.com&gt;"> <span class="fn">Matthew Hill</span></a>
</span></b>
        <pre>The code *should* be correct now.

The reason I thought Structures for empty objects with a given prototype were cached was because I saw `PrototypeMap::emptyObjectStructureForPrototype`... any reason we don't use that here? It seems a waste to re-create the same Structure more than once. I'm sure this code will still perform poorly if someone has an array of functions with the same non-Function.prototype [[Prototype]] when they come to bind them.</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>