Lines Matching full:jsarray
838 // Allocate an empty JSArray. The allocated array is put into the result
856 // Allocate the JSArray object together with space for a fixed array with the
858 int size = JSArray::kSize;
869 // Allocated the JSArray. Now initialize the fields except for the elements
876 __ mov(FieldOperand(result, JSArray::kPropertiesOffset),
878 // Field JSArray::kElementsOffset is initialized later.
879 __ mov(FieldOperand(result, JSArray::kLengthOffset), Immediate(0));
884 __ mov(FieldOperand(result, JSArray::kElementsOffset),
890 // of the JSArray.
893 __ lea(scratch1, Operand(result, JSArray::kSize));
894 __ mov(FieldOperand(result, JSArray::kElementsOffset), scratch1);
932 // Allocate a JSArray with the number of elements stored in a register. The
959 // Allocate the JSArray object together with space for a FixedArray with the
962 __ AllocateInNewSpace(JSArray::kSize + FixedArray::kHeaderSize,
971 // Allocated the JSArray. Now initialize the fields except for the elements
980 __ mov(FieldOperand(result, JSArray::kPropertiesOffset), elements_array);
981 // Field JSArray::kElementsOffset is initialized later.
982 __ mov(FieldOperand(result, JSArray::kLengthOffset), array_size);
985 // of the JSArray.
989 __ lea(elements_array, Operand(result, JSArray::kSize));
990 __ mov(FieldOperand(result, JSArray::kElementsOffset), elements_array);
999 // For non-empty JSArrays the length of the FixedArray and the JSArray is the
1031 // the JSArray object and the FixedArray elements array and initializes these.
1165 // eax: JSArray
1168 // esp[0]: JSArray
1182 // esp[0]: JSArray
1198 // esp[0]: JSArray