Lines Matching refs:Array
350 // Make rdx the space we need for the array when it is unrolled onto the
412 // Copy all arguments from the array to the stack.
453 // Load the built-in Array function from the current context.
458 // Load the Array function from the global context.
464 array.
468 // Allocate an empty JSArray. The allocated array is put into the result
482 // Load the initial map from the array function.
486 // Allocate the JSArray object together with space for a fixed array with the
500 // array.
510 // If no storage is requested for the elements array just set the empty
511 // fixed array.
518 // Calculate the location of the elements array and set elements array member
528 // scratch1: elements array
532 __ movq(FieldOperand(scratch1, Array::kLengthOffset),
562 // register array_function holds the built-in Array function and the register
563 // array_size holds the size of the array as a smi. The allocated array is put
571 Register array_function, // Array function.
581 // Load the initial map from the array function.
586 // Check whether an empty sized array is requested.
591 // If an empty array is requested allocate a small elements array anyway. This
592 // keeps the code below free of special casing for the empty array.
616 // array.
620 // array_size: size of array
629 // Calculate the location of the elements array and set elements array member
633 // array_size: size of array
637 // Initialize the fixed array. FixedArray length is not stored as a smi.
639 // elements_array: elements array
641 // array_size: size of array
650 __ movq(FieldOperand(elements_array, Array::kLengthOffset),
656 __ movq(FieldOperand(elements_array, Array::kLengthOffset), array_size);
660 // elements_array: elements array
679 // Create a new array for the built-in Array function. This function allocates
680 // the JSArray object and the FixedArray elements array and initializes these.
681 // If the Array cannot be constructed in native code the runtime is called. This
683 // rdi: constructor (built-in Array function)
687 // This function is used for both construct and normal calls of Array. The only
697 // Check for array construction with zero arguments.
701 // Handle construction of an empty array.
722 // Handle construction of an empty array of a certain size. Bail out if size
723 // is to large to actually allocate an elements array.
745 // Handle construction of an array from a list of arguments.
775 // Location of the first array element (Parameter fill_with_holes to
781 // rdx: location of the first array element
817 // Get the Array function.
821 // Initial map for the builtin Array function shoud be a map.
826 __ Check(not_smi, "Unexpected initial map for Array function");
828 __ Check(equal, "Unexpected initial map for Array function");
831 // Run the native code for the Array function called as a normal function.
834 // Jump to the generic array code in case the specialized code cannot handle
853 // The array construct code is only set for the builtin Array function which
857 __ Check(equal, "Unexpected Array function");
858 // Initial map for the builtin Array function should be a map.
863 __ Check(not_smi, "Unexpected initial map for Array function");
865 __ Check(equal, "Unexpected initial map for Array function");
868 // Run the native code for the Array function called as constructor.
1003 // Check if a non-empty properties array is needed.
1023 // rdx: number of elements in properties array
1187 // register rax and rbx holds the argument count and argument array,
1256 // Register rbx points to array of pointers to handle locations.