| Index: src/mips/stub-cache-mips.cc
|
| diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc
|
| index 51df45224abdb33a3d2e1d7cf4d758cf06b6e2d9..786132fd56450b698b45c9cbaa15b88cad2a3b06 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()) {
|
|
|