RESOLVED FIXED173228
[JSC] Avoid code bloating for iteration if block does not have "break"
https://bugs.webkit.org/show_bug.cgi?id=173228
Summary [JSC] Avoid code bloating for iteration if block does not have "break"
Yusuke Suzuki
Reported 2017-06-10 11:19:47 PDT
for-of iteration emits code path for break. But we can easily ensure that the given for-of does not have "break". If we ensure that the given block does not have "break" we should not emit this code path.
Attachments
Patch (10.51 KB, patch)
2017-08-16 02:39 PDT, Yusuke Suzuki
no flags
Yusuke Suzuki
Comment 1 2017-08-16 02:39:39 PDT
Keith Miller
Comment 2 2017-08-16 13:16:43 PDT
Comment on attachment 318245 [details] Patch r=me.
Yusuke Suzuki
Comment 3 2017-08-17 04:45:48 PDT
Comment on attachment 318245 [details] Patch Thanks!
WebKit Commit Bot
Comment 4 2017-08-17 05:15:52 PDT
Comment on attachment 318245 [details] Patch Clearing flags on attachment: 318245 Committed r220852: <http://trac.webkit.org/changeset/220852>
WebKit Commit Bot
Comment 5 2017-08-17 05:15:53 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6 2017-08-17 05:16:57 PDT
Note You need to log in before you can comment on or make changes to this bug.