Description[turbofan] Inline String.prototype.concat with PlainPrimitive parameter.
When we hit a call to String.prototype.concat builtin, where we can
infer that the receiver is a String and there's exactly one parameter,
which is of type PlainPrimitive, then we can reduce that to a call to
the StringAddStub instead, optionally converting the non-String - but
PlainPrimitive - parameter to a String.
BUG=v8:5267
R=jarin@chromium.org
Review-Url: https://codereview.chromium.org/2758383002
Cr-Commit-Position: refs/heads/master@{#43957}
Committed: https://chromium.googlesource.com/v8/v8/+/f08c3fd324c8cd5d1305a5a3de3b2ce0e242ff67
Patch Set 1 #Patch Set 2 : Actually use the receiver. #
Messages
Total messages: 21 (15 generated)
|