Description[turbofan] Eliminate empty string addition.
For additions like a+'' or ''+a where we have String feedback on the
JSAdd, we can drop the concatenation and just check that a is a valid
String already (via CheckString).
BUG=v8:6259
R=petermarshall@chromium.org
Review-Url: https://codereview.chromium.org/2894563002
Cr-Commit-Position: refs/heads/master@{#45395}
Committed: https://chromium.googlesource.com/v8/v8/+/cd1325a890b36ff715d95fcdd845cba43569ce29
Patch Set 1 #
Messages
Total messages: 10 (6 generated)
|