Index: src/mips/ic-mips.cc |
diff --git a/src/mips/ic-mips.cc b/src/mips/ic-mips.cc |
index c7e1a2ada602392c952118d8f36162a37e67682b..0fe044a6c5a02dfc66fa51b02748672122a61eba 100644 |
--- a/src/mips/ic-mips.cc |
+++ b/src/mips/ic-mips.cc |
@@ -1354,11 +1354,10 @@ void KeyedStoreIC::GenerateGeneric(MacroAssembler* masm, |
__ JumpIfSmi(receiver, &slow); |
// Get the map of the object. |
__ lw(receiver_map, FieldMemOperand(receiver, HeapObject::kMapOffset)); |
- // Check that the receiver does not require access checks and is not observed. |
- // The generic stub does not perform map checks or handle observed objects. |
+ // Check that the receiver does not require access checks. We need |
+ // to do this because this generic stub does not perform map checks. |
__ lbu(t0, FieldMemOperand(receiver_map, Map::kBitFieldOffset)); |
- __ And(t0, t0, Operand(1 << Map::kIsAccessCheckNeeded | |
- 1 << Map::kIsObserved)); |
+ __ And(t0, t0, Operand(1 << Map::kIsAccessCheckNeeded)); |
__ Branch(&slow, ne, t0, Operand(zero_reg)); |
// Check if the object is a JS array or not. |
__ lbu(t0, FieldMemOperand(receiver_map, Map::kInstanceTypeOffset)); |