Home | History | Annotate | Download | only in x64

Lines Matching full:jsarray

902 // Allocate an empty JSArray. The allocated array is put into the result
920 // Allocate the JSArray object together with space for a fixed array with the
922 int size = JSArray::kSize;
933 // Allocated the JSArray. Now initialize the fields except for the elements
939 __ Move(FieldOperand(result, JSArray::kPropertiesOffset),
941 // Field JSArray::kElementsOffset is initialized later.
942 __ Move(FieldOperand(result, JSArray::kLengthOffset), Smi::FromInt(0));
947 __ Move(FieldOperand(result, JSArray::kElementsOffset),
953 // of the JSArray.
956 __ lea(scratch1, Operand(result, JSArray::kSize));
957 __ movq(FieldOperand(result, JSArray::kElementsOffset), scratch1);
995 // Allocate a JSArray with the number of elements stored in a register. The
1026 int size = JSArray::kSize + FixedArray::SizeFor(kPreallocatedArrayElements);
1035 // Allocate the JSArray object together with space for a FixedArray with the
1040 __ AllocateInNewSpace(JSArray::kSize + FixedArray::kHeaderSize,
1049 // Allocated the JSArray. Now initialize the fields except for the elements
1058 __ movq(FieldOperand(result, JSArray::kPropertiesOffset), elements_array);
1059 // Field JSArray::kElementsOffset is initialized later.
1060 __ movq(FieldOperand(result, JSArray::kLengthOffset), array_size);
1063 // of the JSArray.
1067 __ lea(elements_array, Operand(result, JSArray::kSize));
1068 __ movq(FieldOperand(result, JSArray::kElementsOffset), elements_array);
1081 // though the actual JSArray has length 0.
1086 // For non-empty JSArrays the length of the FixedArray and the JSArray is the
1112 // the JSArray object and the FixedArray elements array and initializes these.
1199 // rbx: JSArray
1213 // rbx: JSArray
1231 // rbx: JSArray