Home | History | Annotate | Download | only in ia32

Lines Matching refs:Array

191     // Check if a non-empty properties array is needed.
211 // edx: number of elements in properties array
228 __ mov(Operand(edi, Array::kLengthOffset), edx); // and length
577 // Make edx the space we need for the array when it is unrolled onto the
643 // Copy all arguments from the array to the stack.
681 // Load the built-in Array function from the current context.
686 // Load the Array function from the global context.
692 // Number of empty elements to allocate for an empty array.
696 // Allocate an empty JSArray. The allocated array is put into the result
710 // Load the initial map from the array function.
714 // Allocate the JSArray object together with space for a fixed array with the
728 // array.
738 // If no storage is requested for the elements array just set the empty
739 // fixed array.
746 // Calculate the location of the elements array and set elements array member
756 // scratch1: elements array
760 __ mov(FieldOperand(scratch1, Array::kLengthOffset),
790 // register array_function holds the built-in Array function and the register
791 // array_size holds the size of the array as a smi. The allocated array is put
799 Register array_function, // Array function.
809 // Load the initial map from the array function.
814 // Check whether an empty sized array is requested.
818 // If an empty array is requested allocate a small elements array anyway. This
819 // keeps the code below free of special casing for the empty array.
843 // array.
847 // array_size: size of array (smi)
855 // Calculate the location of the elements array and set elements array member
859 // array_size: size of array (smi)
863 // Initialize the fixed array. FixedArray length is not stored as a smi.
865 // elements_array: elements array
867 // array_size: size of array (smi)
877 __ mov(FieldOperand(elements_array, Array::kLengthOffset),
883 __ mov(FieldOperand(elements_array, Array::kLengthOffset), array_size);
887 // elements_array: elements array
906 // Create a new array for the built-in Array function. This function allocates
907 // the JSArray object and the FixedArray elements array and initializes these.
908 // If the Array cannot be constructed in native code the runtime is called. This
910 // edi: constructor (built-in Array function)
914 // This function is used for both construct and normal calls of Array. Whether
935 // Check for array construction with zero arguments.
939 // Handle construction of an empty array.
965 // Handle construction of an empty array of a certain size. Get the size from
967 // array.
995 // Handle construction of an array from a list of arguments.
1031 // Location of the first array element (Parameter fill_with_holes to
1036 // edx: location of the first array element
1081 // Get the Array function.
1085 // Initial map for the builtin Array function shoud be a map.
1089 __ Assert(not_zero, "Unexpected initial map for Array function");
1091 __ Assert(equal, "Unexpected initial map for Array function");
1094 // Run the native code for the Array function called as a normal function.
1097 // Jump to the generic array code in case the specialized code cannot handle
1116 // The array construct code is only set for the builtin Array function which
1120 __ Assert(equal, "Unexpected Array function");
1121 // Initial map for the builtin Array function should be a map.
1125 __ Assert(not_zero, "Unexpected initial map for Array function");
1127 __ Assert(equal, "Unexpected initial map for Array function");
1130 // Run the native code for the Array function called as constructor.