RESOLVED FIXED 170943
[DFG] Convert ValueAdd(Int32, String) => MakeRope(ToString(Int32), String)
https://bugs.webkit.org/show_bug.cgi?id=170943
Summary [DFG] Convert ValueAdd(Int32, String) => MakeRope(ToString(Int32), String)
Yusuke Suzuki
Reported 2017-04-18 04:29:05 PDT
It is helpful because we can say that MakeRope and ToString is side-effect free in this case!
Attachments
Patch (10.13 KB, patch)
2017-04-18 09:53 PDT, Yusuke Suzuki
no flags
Patch (10.13 KB, patch)
2017-04-18 10:37 PDT, Yusuke Suzuki
ggaren: review+
Yusuke Suzuki
Comment 1 2017-04-18 09:53:00 PDT
Build Bot
Comment 2 2017-04-18 10:29:04 PDT
Comment on attachment 307390 [details] Patch Attachment 307390 [details] did not pass jsc-ews (mac): Output: http://webkit-queues.webkit.org/results/3558116 New failing tests: stress/number-to-string-with-add.js.default stress/number-to-string-with-add.js.ftl-eager-no-cjit stress/number-to-string-with-add.js.ftl-no-cjit-validate-sampling-profiler stress/number-to-string-with-add.js.ftl-eager-no-cjit-b3o1 stress/number-to-string-with-add.js.dfg-eager-no-cjit-validate stress/number-to-string-with-add.js.ftl-no-cjit-no-put-stack-validate stress/number-to-string-with-add.js.ftl-no-cjit-no-inline-validate stress/number-to-string-with-add.js.ftl-eager stress/number-to-string-with-add.js.ftl-no-cjit-small-pool stress/number-to-string-with-add.js.no-cjit-collect-continuously stress/number-to-string-with-add.js.no-cjit-validate-phases stress/number-to-string-with-add.js.ftl-no-cjit-b3o1 stress/number-to-string-with-add.js.dfg-eager stress/number-to-string-with-add.js.dfg-maximal-flush-validate-no-cjit stress/number-to-string-with-add.js.no-ftl stress/number-to-string-with-add.js.no-llint
Yusuke Suzuki
Comment 3 2017-04-18 10:37:40 PDT
Geoffrey Garen
Comment 4 2017-04-18 10:42:36 PDT
Comment on attachment 307393 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=307393&action=review r=me > Source/JavaScriptCore/ChangeLog:35 > + template_string_tag.es5 200.1027+-20.6871 ^ 25.7925+-11.4052 ^ definitely 7.7582x faster LOL bad benchmark :(
Yusuke Suzuki
Comment 5 2017-04-18 11:06:46 PDT
Note You need to log in before you can comment on or make changes to this bug.