Home | History | Annotate | Download | only in ppc

Lines Matching full:receiver

26   //   type: holds the receiver instance type on entry.
45 // The generated code assumes that the receiver has slow properties,
90 // The generated code assumes that the receiver has slow properties,
135 // Checks the receiver for special cases (value type, slow case bits).
138 Register receiver, Register map,
142 __ JumpIfSmi(receiver, slow);
143 // Get the map of the receiver.
144 __ LoadP(map, FieldMemOperand(receiver, HeapObject::kMapOffset));
163 static void GenerateFastArrayLoad(MacroAssembler* masm, Register receiver,
170 // receiver - holds the receiver on entry.
177 // Allowed to be the the same as 'receiver' or 'key'.
178 // Unchanged on bailout so 'receiver' and 'key' can be safely
183 // elements - holds the elements of the receiver and its protoypes.
191 __ LoadP(elements, FieldMemOperand(receiver, JSObject::kElementsOffset));
203 __ LoadP(scratch2, FieldMemOperand(receiver, HeapObject::kMapOffset));
302 Register receiver = LoadDescriptor::ReceiverRegister();
307 __ Push(receiver, name, slot, vector);
373 Register receiver = LoadDescriptor::ReceiverRegister();
375 DCHECK(receiver.is(r4));
385 GenerateKeyedLoadReceiverCheck(masm, receiver, r3, r6,
388 // Check the receiver's map to see if it has fast elements.
391 GenerateFastArrayLoad(masm, receiver, key, r3, r6, r7, r3, &slow,
397 __ LoadP(r7, FieldMemOperand(receiver, JSObject::kElementsOffset));
410 // Slow case, key and receiver still in r3 and r4.
419 GenerateKeyedLoadReceiverCheck(masm, receiver, r3, r6,
422 // If the receiver is a fast-case object, check the stub cache. Otherwise
424 __ LoadP(r6, FieldMemOperand(receiver, JSObject::kPropertiesOffset));
446 receiver, key, r7, r8, r9, r10);
450 // Do a quick inline probe of the receiver's dictionary, if it
454 __ LoadP(r3, FieldMemOperand(receiver, HeapObject::kMapOffset));
488 Register value, Register key, Register receiver, Register receiver_map,
498 DCHECK(!AreAliased(value, key, receiver, receiver_map, elements_map, elements,
517 __ JumpIfDictionaryInPrototypeChain(receiver, elements_map, scratch, slow);
526 // Add 1 to receiver->length.
528 __ StoreP(scratch, FieldMemOperand(receiver, JSArray::kLengthOffset), r0);
543 // Add 1 to receiver->length.
545 __ StoreP(scratch, FieldMemOperand(receiver, JSArray::kLengthOffset), r0);
574 __ JumpIfDictionaryInPrototypeChain(receiver, elements_map, scratch, slow);
580 // Add 1 to receiver->length.
582 __ StoreP(scratch, FieldMemOperand(receiver, JSArray::kLengthOffset), r0);
598 ElementsTransitionGenerator::GenerateSmiToDouble(masm, receiver, key, value,
600 __ LoadP(elements, FieldMemOperand(receiver, JSObject::kElementsOffset));
609 masm, receiver, key, value, receiver_map, mode, slow);
610 __ LoadP(elements, FieldMemOperand(receiver, JSObject::kElementsOffset));
615 // HeapNumber. Make sure that the receiver is a Array with FAST_ELEMENTS and
621 masm, receiver, key, value, receiver_map, mode, slow);
622 __ LoadP(elements, FieldMemOperand(receiver, JSObject::kElementsOffset));
632 // -- r5 : receiver
642 Register receiver = StoreDescriptor::ReceiverRegister();
643 DCHECK(receiver.is(r4));
648 Register elements = r10; // Elements array of the receiver.
654 __ JumpIfSmi(receiver, &slow);
656 __ LoadP(receiver_map, FieldMemOperand(receiver, HeapObject::kMapOffset));
657 // Check that the receiver does not require access checks and is not observed.
672 __ LoadP(elements, FieldMemOperand(receiver, JSObject::kElementsOffset));
683 // r5: receiver.
707 receiver, key, r8, r9, r10, r11);
738 __ LoadP(elements, FieldMemOperand(receiver, JSObject::kElementsOffset));
741 __ LoadP(ip, FieldMemOperand(receiver, JSArray::kLengthOffset));
747 value, key, receiver, receiver_map, elements_map, elements);
750 kIncrementLength, value, key, receiver,
758 Register receiver = StoreDescriptor::ReceiverRegister();
760 DCHECK(receiver.is(r4));
764 // Get the receiver from the stack and probe the stub cache.
769 receiver, name, r6, r7, r8, r9);
786 Register receiver = StoreDescriptor::ReceiverRegister();
790 DCHECK(receiver.is(r4));
796 __ LoadP(dictionary, FieldMemOperand(receiver, JSObject::kPropertiesOffset));