| Index: src/compiler/js-typed-lowering.cc
|
| diff --git a/src/compiler/js-typed-lowering.cc b/src/compiler/js-typed-lowering.cc
|
| index cec573be46a232820ce4d13f3bddb478336a77ba..17079961d0f5d5a3a7cf0f353ed4f33614f01efa 100644
|
| --- a/src/compiler/js-typed-lowering.cc
|
| +++ b/src/compiler/js-typed-lowering.cc
|
| @@ -717,12 +717,6 @@ Reduction JSTypedLowering::ReduceJSToLength(Node* node) {
|
| }
|
|
|
| Reduction JSTypedLowering::ReduceJSToNumberInput(Node* input) {
|
| - if (input->opcode() == IrOpcode::kJSToNumber) {
|
| - // Recursively try to reduce the input first.
|
| - Reduction result = ReduceJSToNumber(input);
|
| - if (result.Changed()) return result;
|
| - return Changed(input); // JSToNumber(JSToNumber(x)) => JSToNumber(x)
|
| - }
|
| // Check for ToNumber truncation of signaling NaN to undefined mapping.
|
| if (input->opcode() == IrOpcode::kSelect) {
|
| Node* check = NodeProperties::GetValueInput(input, 0);
|
|
|