Index: src/mips/stub-cache-mips.cc |
diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc |
index c0924985a751dc8c7d2a66e1d2178d922839dd84..31e4e4479425409fb5155853fa552504044553f2 100644 |
--- a/src/mips/stub-cache-mips.cc |
+++ b/src/mips/stub-cache-mips.cc |
@@ -594,9 +594,6 @@ void StubCompiler::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. |
// Pass the now unused name_reg as a scratch register. |
if (!FLAG_track_double_fields || !representation.IsDouble()) { |
@@ -626,9 +623,6 @@ void StubCompiler::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. |
// Ok to clobber receiver_reg and name_reg, since we return. |
if (!FLAG_track_double_fields || !representation.IsDouble()) { |