Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index 00020f803352d21fc04d9aae306d101d8099c02e..3bec1c5af1afd17ad117cdd7e9a62dd4726006b3 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -570,9 +570,6 @@ void BaseStoreStubCompiler::GenerateStoreTransition(MacroAssembler* masm, |
} |
if (!FLAG_track_fields || !representation.IsSmi()) { |
- // Skip updating write barrier if storing a smi. |
- __ JumpIfSmi(value_reg, &exit); |
- |
// Update the write barrier for the array address. |
if (!FLAG_track_double_fields || !representation.IsDouble()) { |
__ mov(storage_reg, value_reg); |
@@ -599,9 +596,6 @@ void BaseStoreStubCompiler::GenerateStoreTransition(MacroAssembler* masm, |
} |
if (!FLAG_track_fields || !representation.IsSmi()) { |
- // Skip updating write barrier if storing a smi. |
- __ JumpIfSmi(value_reg, &exit); |
- |
// Update the write barrier for the array address. |
if (!FLAG_track_double_fields || !representation.IsDouble()) { |
__ mov(storage_reg, value_reg); |