RESOLVED FIXED 172508
CFGSimplificationPhase should not merge a block with itself
https://bugs.webkit.org/show_bug.cgi?id=172508
Summary CFGSimplificationPhase should not merge a block with itself
Saam Barati
Reported 2017-05-23 10:29:07 PDT
except it tries to, and will have a very bad time. Test: ``` function bar() {} noInline(bar); function baz() { } function foo() { if (typeof baz !== "undefined") { } else { while (true) bar(); } } noInline(foo); for (let i = 0; i < 10000; ++i) foo(); ```
Attachments
patch (6.37 KB, patch)
2017-05-23 11:06 PDT, Saam Barati
no flags
Saam Barati
Comment 1 2017-05-23 10:29:47 PDT
Radar WebKit Bug Importer
Comment 2 2017-05-23 10:53:58 PDT
Saam Barati
Comment 3 2017-05-23 11:06:58 PDT
Keith Miller
Comment 4 2017-05-23 11:09:23 PDT
Comment on attachment 311026 [details] patch r=me.
WebKit Commit Bot
Comment 5 2017-05-23 11:49:19 PDT
Comment on attachment 311026 [details] patch Clearing flags on attachment: 311026 Committed r217287: <http://trac.webkit.org/changeset/217287>
WebKit Commit Bot
Comment 6 2017-05-23 11:49:20 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.