<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - ES6 Arrow function. Write tests for the controlFlowProfiler"
href="https://bugs.webkit.org/show_bug.cgi?id=145638#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - ES6 Arrow function. Write tests for the controlFlowProfiler"
href="https://bugs.webkit.org/show_bug.cgi?id=145638">bug 145638</a>
from <span class="vcard"><a class="email" href="mailto:saambarati1@gmail.com" title="Saam Barati <saambarati1@gmail.com>"> <span class="fn">Saam Barati</span></a>
</span></b>
<pre>nction foo2(test) {
<span class="quote">> var f1 = (xyz) => { "hello" }
> if (test)
> f1();
> }
> foo1(false);
> checkBasicBlock(foo1, '(xyz) =>', ShouldNotHaveExecuted);
> checkBasicBlock(foo1, '; }', ShouldNotHaveExecuted);
> foo1(true);
> checkBasicBlock(foo1, '(xyz) =>', ShouldHaveExecuted);
> checkBasicBlock(foo1, '; }', ShouldHaveExecuted);</span >
Mistake: these should all be "foo2".</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>