<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Allow function allocation sinking"
   href="https://bugs.webkit.org/show_bug.cgi?id=144016#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Allow function allocation sinking"
   href="https://bugs.webkit.org/show_bug.cgi?id=144016">bug 144016</a>
              from <span class="vcard"><a class="email" href="mailto:fpizlo&#64;apple.com" title="Filip Pizlo &lt;fpizlo&#64;apple.com&gt;"> <span class="fn">Filip Pizlo</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=251524&amp;action=diff" name="attach_251524" title="patch">attachment 251524</a> <a href="attachment.cgi?id=251524&amp;action=edit" title="patch">[details]</a></span>
patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=251524&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=251524&amp;action=review</a>

<span class="quote">&gt; Source/JavaScriptCore/dfg/DFGObjectAllocationSinkingPhase.cpp:566
&gt; +                        Node* executable = m_insertionSet.insertConstant(
&gt; +                            nodeIndex + 1, node-&gt;origin, node-&gt;cellOperand());</span >

You could add the cellOperand as a strong constant. This means doing:

m_insertionSet.insertConstant(nodeIndex + 1, node-&gt;origin, m_graph.freezeStrong(node-&gt;cellOperand()));</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>