Home | History | Annotate | Download | only in mips

Lines Matching refs:JSArray

109 // Allocate an empty JSArray. The allocated array is put into the result
119 const int initial_capacity = JSArray::kPreallocatedArrayElements;
123 // Allocate the JSArray object together with space for a fixed array with the
125 int size = JSArray::kSize;
135 // Allocated the JSArray. Now initialize the fields except for the elements
142 __ sw(scratch1, FieldMemOperand(result, JSArray::kPropertiesOffset));
143 // Field JSArray::kElementsOffset is initialized later.
145 __ sw(scratch3, FieldMemOperand(result, JSArray::kLengthOffset));
148 __ sw(scratch1, FieldMemOperand(result, JSArray::kElementsOffset));
153 // of the JSArray.
156 __ Addu(scratch1, result, Operand(JSArray::kSize));
157 __ sw(scratch1, FieldMemOperand(result, JSArray::kElementsOffset));
197 // Allocate a JSArray with the number of elements stored in a register. The
224 // Allocate the JSArray object together with space for a FixedArray with the
228 (JSArray::kSize + FixedArray::kHeaderSize) / kPointerSize);
239 // Allocated the JSArray. Now initialize the fields except for the elements
247 FieldMemOperand(result, JSArray::kPropertiesOffset));
248 // Field JSArray::kElementsOffset is initialized later.
249 __ sw(array_size, FieldMemOperand(result, JSArray::kLengthOffset));
252 // of the JSArray.
255 __ Addu(elements_array_storage, result, Operand(JSArray::kSize));
257 FieldMemOperand(result, JSArray::kElementsOffset));
274 // the actual JSArray has length 0 and the size of the JSArray for non-empty
309 // the JSArray object and the FixedArray elements array and initializes these.
412 // a3: JSArray
437 // a3: JSArray
453 // a3: JSArray