<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@apple.com" title="Filip Pizlo <fpizlo@apple.com>"> <span class="fn">Filip Pizlo</span></a>
</span></b>
<pre>Comment on <span class=""><a href="attachment.cgi?id=251524&action=diff" name="attach_251524" title="patch">attachment 251524</a> <a href="attachment.cgi?id=251524&action=edit" title="patch">[details]</a></span>
patch
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=251524&action=review">https://bugs.webkit.org/attachment.cgi?id=251524&action=review</a>
<span class="quote">> Source/JavaScriptCore/dfg/DFGObjectAllocationSinkingPhase.cpp:566
> + Node* executable = m_insertionSet.insertConstant(
> + nodeIndex + 1, node->origin, node->cellOperand());</span >
You could add the cellOperand as a strong constant. This means doing:
m_insertionSet.insertConstant(nodeIndex + 1, node->origin, m_graph.freezeStrong(node->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>