Description[turbofan] Don't introduce PlainPrimitiveToNumber for String inputs.
During JSTypedLowering we can decide to insert PlainPrimitiveToNumber
operators on the inputs to still utilize pure Number operators, when
the type feedback on the numeric binary operation is NumberOrOddball.
However that is not beneficial if the inputs can be Strings, that is
we cannot statically rule out String based on input type, as that
inserts a ToNumber stub call into the hot code path.
This repairs the NavierStokes regression with Ignition on Octane.
R=jarin@chromium.org
Committed: https://crrev.com/09410621f98bcf9fd022c4f183457ada6342c7fa
Cr-Commit-Position: refs/heads/master@{#40427}
Patch Set 1 #
Messages
Total messages: 10 (6 generated)
|