[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 Review URL: https://codereview.chromium.org/2432143003 . Cr-Commit-Position: refs/heads/master@{#40427}
Showing
Please
register
or
sign in
to comment