Index: src/compiler/simplified-operator-reducer.cc |
diff --git a/src/compiler/simplified-operator-reducer.cc b/src/compiler/simplified-operator-reducer.cc |
index 9e30e13c1674b1a4f10ad793ddc41b157162cd40..d172adcf604e34ca3d05f0b8b8394835a9b37d42 100644 |
--- a/src/compiler/simplified-operator-reducer.cc |
+++ b/src/compiler/simplified-operator-reducer.cc |
@@ -126,6 +126,14 @@ Reduction SimplifiedOperatorReducer::Reduce(Node* node) { |
} |
break; |
} |
+ case IrOpcode::kCheckedTaggedSignedToInt32: { |
+ NodeMatcher m(node->InputAt(0)); |
+ if (m.IsConvertTaggedHoleToUndefined()) { |
+ node->ReplaceInput(0, m.InputAt(0)); |
+ return Changed(node); |
+ } |
+ break; |
+ } |
case IrOpcode::kCheckIf: { |
HeapObjectMatcher m(node->InputAt(0)); |
if (m.Is(factory()->true_value())) { |