Index: src/ic/ppc/ic-ppc.cc |
diff --git a/src/ic/ppc/ic-ppc.cc b/src/ic/ppc/ic-ppc.cc |
index 7735a23f339231d6a83651d6ec14de80a7fb6c7c..3c867865bb11bf9ceca386cb1737e5382deaf782 100644 |
--- a/src/ic/ppc/ic-ppc.cc |
+++ b/src/ic/ppc/ic-ppc.cc |
@@ -639,11 +639,10 @@ void KeyedStoreIC::GenerateMegamorphic(MacroAssembler* masm, |
__ JumpIfSmi(receiver, &slow); |
// Get the map of the object. |
__ LoadP(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. |
+ // The generic stub does not perform map checks. |
__ lbz(ip, FieldMemOperand(receiver_map, Map::kBitFieldOffset)); |
- __ andi(r0, ip, |
- Operand(1 << Map::kIsAccessCheckNeeded | 1 << Map::kIsObserved)); |
+ __ andi(r0, ip, Operand(1 << Map::kIsAccessCheckNeeded)); |
__ bne(&slow, cr0); |
// Check if the object is a JS array or not. |
__ lbz(r7, FieldMemOperand(receiver_map, Map::kInstanceTypeOffset)); |