Index: src/compiler/js-typed-lowering.cc |
diff --git a/src/compiler/js-typed-lowering.cc b/src/compiler/js-typed-lowering.cc |
index 903bf88a7b2422bc8a5e9f760665a67a2415bfeb..670430609f069e582b02d079b84441a316fd1db7 100644 |
--- a/src/compiler/js-typed-lowering.cc |
+++ b/src/compiler/js-typed-lowering.cc |
@@ -1063,15 +1063,6 @@ Reduction JSTypedLowering::ReduceJSStoreProperty(Node* node) { |
frame_state_for_to_number, effect, control); |
} |
} |
- // For integer-typed arrays, convert to the integer type. |
- if (access.machine_type().semantic() == MachineSemantic::kInt32 && |
- !value_type->Is(Type::Signed32())) { |
- value = graph()->NewNode(simplified()->NumberToInt32(), value); |
- } else if (access.machine_type().semantic() == |
- MachineSemantic::kUint32 && |
- !value_type->Is(Type::Unsigned32())) { |
- value = graph()->NewNode(simplified()->NumberToUint32(), value); |
- } |
// Check if we can avoid the bounds check. |
if (key_type->Min() >= 0 && key_type->Max() < array->length_value()) { |
RelaxControls(node); |