Lines Matching refs:elements
777 Handle<FixedArray> elements = factory->NewFixedArray(args.length());
780 elements->set(i, *arg_string);
782 Handle<JSArray> array = factory->NewJSArrayWithElements(elements);
795 Handle<FixedArray> elements = factory->NewFixedArray(args.length());
797 elements->set(i, *args[i]);
799 Handle<JSArray> array = factory->NewJSArrayWithElements(elements);
975 // Returns a fixed array containing three elements for each assignment of the
1109 // elements. This way, all scripts and functions get their own
1989 // The harmony mode uses block elements instead of statements.
3783 // Smi only elements. Notice if a transition to FAST_DOUBLE_ELEMENTS or
3821 // elements transitions on really small objects.
3827 // elements array to a copy-on-write array.
4007 uint32_t elements = 0;
4026 // Keep track of the number of elements in the object literal and
4028 // much larger than the number of elements, creating an object
4029 // literal with fast elements will be a waste of space.
4035 elements++;
4042 elements++;
4050 (max_element_index <= 32) || ((2 * elements) >= max_element_index);
4988 Handle<Object> elements[] = { first, second };
4990 HandleVector<Object>(elements, ARRAY_SIZE(elements));
5000 Handle<FixedArray> elements = isolate()->factory()->NewFixedArray(argc,
5005 elements->set(i, *element);
5009 elements, FAST_ELEMENTS, TENURED);