<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - B3 should have a sane double-to-int opcode that behaves like JS"
href="https://bugs.webkit.org/show_bug.cgi?id=168789#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - B3 should have a sane double-to-int opcode that behaves like JS"
href="https://bugs.webkit.org/show_bug.cgi?id=168789">bug 168789</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>Check out how badly we compile this:
function foo(a) {
a[0] = -1.0;
}
noInline(foo);
var a = new Int8Array(1);
for (var i = 0; i < 10000; ++i)
foo(a);
We emit awful code in FTL for the "a[0] = -1.0" statement.</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>