[Webkit-unassigned] [Bug 145638] ES6 Arrow function. Write tests for the controlFlowProfiler

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 8 13:17:03 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=145638

--- Comment #3 from Saam Barati <saambarati1 at gmail.com> ---
nction foo2(test) {
>    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);
Mistake: these should all be "foo2".

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150608/c22d6b07/attachment.html>


More information about the webkit-unassigned mailing list