Home | History | Annotate | Download | only in ia32

Lines Matching refs:JSArray

888 // Allocate an empty JSArray. The allocated array is put into the result
899 const int initial_capacity = JSArray::kPreallocatedArrayElements;
904 // Allocate the JSArray object together with space for a fixed array with the
906 int size = JSArray::kSize;
917 // Allocated the JSArray. Now initialize the fields except for the elements
924 __ mov(FieldOperand(result, JSArray::kPropertiesOffset),
926 // Field JSArray::kElementsOffset is initialized later.
927 __ mov(FieldOperand(result, JSArray::kLengthOffset), Immediate(0));
932 __ mov(FieldOperand(result, JSArray::kElementsOffset),
938 // of the JSArray.
941 __ lea(scratch1, Operand(result, JSArray::kSize));
942 __ mov(FieldOperand(result, JSArray::kElementsOffset), scratch1);
983 // Allocate a JSArray with the number of elements stored in a register. The
1007 // Allocate the JSArray object together with space for a FixedArray with the
1010 __ AllocateInNewSpace(JSArray::kSize + FixedArray::kHeaderSize,
1019 // Allocated the JSArray. Now initialize the fields except for the elements
1028 __ mov(FieldOperand(result, JSArray::kPropertiesOffset), elements_array);
1029 // Field JSArray::kElementsOffset is initialized later.
1030 __ mov(FieldOperand(result, JSArray::kLengthOffset), array_size);
1033 // of the JSArray.
1037 __ lea(elements_array, Operand(result, JSArray::kSize));
1038 __ mov(FieldOperand(result, JSArray::kElementsOffset), elements_array);
1047 // For non-empty JSArrays the length of the FixedArray and the JSArray is the
1079 // the JSArray object and the FixedArray elements array and initializes these.
1210 // esp[0]: JSArray
1229 // esp[0]: JSArray
1250 // esp[0]: JSArray