Lines Matching refs:pretenure
146 Handle<FixedArray> Factory::NewFixedArray(int size, PretenureFlag pretenure) {
150 isolate()->heap()->AllocateFixedArray(size, pretenure),
155 PretenureFlag pretenure) {
158 isolate()->heap()->AllocateFixedArray(size, pretenure);
165 PretenureFlag pretenure) {
170 pretenure,
212 PretenureFlag pretenure) {
216 isolate()->heap()->AllocateUninitializedFixedDoubleArray(size, pretenure),
223 PretenureFlag pretenure) {
225 Handle<FixedArrayBase> array = NewFixedDoubleArray(size, pretenure);
233 PretenureFlag pretenure) {
301 PretenureFlag pretenure) {
309 NewRawOneByteString(string.length(), pretenure),
321 PretenureFlag pretenure) {
329 return NewStringFromOneByte(Vector<const uint8_t>::cast(string), pretenure);
343 NewRawTwoByteString(non_ascii_start + utf16_length, pretenure),
358 PretenureFlag pretenure) {
364 // TODO(v8): the pretenure flag is ignored in this case.
378 NewRawTwoByteString(non_ascii_start + utf16_length, pretenure), String);
396 PretenureFlag pretenure) {
404 NewRawOneByteString(length, pretenure),
413 NewRawTwoByteString(length, pretenure),
421 PretenureFlag pretenure) {
422 return NewStringFromTwoByte(string.start(), string.length(), pretenure);
426 const ZoneVector<uc16>* string, PretenureFlag pretenure) {
428 pretenure);
534 int length, PretenureFlag pretenure) {
541 isolate()->heap()->AllocateRawOneByteString(length, pretenure),
547 int length, PretenureFlag pretenure) {
554 isolate()->heap()->AllocateRawTwoByteString(length, pretenure),
1110 Handle<Foreign> Factory::NewForeign(Address addr, PretenureFlag pretenure) {
1112 isolate()->heap()->AllocateForeign(addr, pretenure),
1122 Handle<ByteArray> Factory::NewByteArray(int length, PretenureFlag pretenure) {
1126 isolate()->heap()->AllocateByteArray(length, pretenure),
1144 PretenureFlag pretenure) {
1148 length, array_type, external_pointer, pretenure),
1155 PretenureFlag pretenure) {
1158 length, array_type, initialize, pretenure),
1262 PretenureFlag pretenure) {
1264 *array, grow_by, pretenure),
1270 PretenureFlag pretenure) {
1272 *array, new_len, pretenure),
1301 PretenureFlag pretenure) {
1309 return NewHeapNumber(value, IMMUTABLE, pretenure);
1314 PretenureFlag pretenure) {
1317 return NewHeapNumber(FastI2D(value), IMMUTABLE, pretenure);
1322 PretenureFlag pretenure) {
1327 return NewHeapNumber(FastUI2D(value), IMMUTABLE, pretenure);
1331 PretenureFlag pretenure) {
1333 isolate()->heap()->AllocateHeapNumber(mode, pretenure),
1414 PretenureFlag pretenure) {
1415 AllocationSpace space = pretenure == TENURED ? OLD_SPACE : NEW_SPACE;
1548 PretenureFlag pretenure) {
1554 pretenure);
1559 Handle<Cell> vector, PretenureFlag pretenure) {
1565 pretenure);
1570 Handle<Object> context_or_undefined, PretenureFlag pretenure) {
1573 NewFunction(initial_map, info, context_or_undefined, pretenure);
1581 Compiler::PostInstantiation(result, pretenure);
1590 PretenureFlag pretenure) {
1593 NewFunction(initial_map, info, context_or_undefined, pretenure);
1611 Compiler::PostInstantiation(result, pretenure);
1736 PretenureFlag pretenure) {
1740 isolate()->heap()->AllocateJSObject(*constructor, pretenure), JSObject);
1743 Handle<JSObject> Factory::NewJSObjectWithNullProto(PretenureFlag pretenure) {
1745 NewJSObject(isolate()->object_function(), pretenure);
1815 PretenureFlag pretenure,
1821 pretenure,
1828 PretenureFlag pretenure) {
1835 return Handle<JSArray>::cast(NewJSObjectFromMap(handle(map), pretenure));
1841 PretenureFlag pretenure) {
1842 Handle<JSArray> array = NewJSArray(elements_kind, pretenure);
1850 PretenureFlag pretenure) {
1852 Handle<JSArray> array = NewJSArray(elements_kind, pretenure);
1948 PretenureFlag pretenure) {
1954 *array_buffer_fun, pretenure),
2115 PretenureFlag pretenure = NOT_TENURED) {
2128 isolate->factory()->NewNumberFromSize(byte_offset, pretenure);
2132 isolate->factory()->NewNumberFromSize(byte_length, pretenure);
2141 PretenureFlag pretenure) {
2145 *typed_array_fun_handle, pretenure),
2151 PretenureFlag pretenure) {
2156 *typed_array_fun_handle, pretenure),
2164 PretenureFlag pretenure) {
2165 Handle<JSTypedArray> obj = NewJSTypedArray(type, pretenure);
2176 pretenure);
2178 Handle<Object> length_object = NewNumberFromSize(length, pretenure);
2183 static_cast<uint8_t*>(buffer->backing_store()) + byte_offset, pretenure);
2192 PretenureFlag pretenure) {
2193 Handle<JSTypedArray> obj = NewJSTypedArray(elements_kind, pretenure);
2210 NewNumberFromSize(byte_length, pretenure);
2213 NewNumberFromSize(number_of_elements, pretenure);
2217 NewJSArrayBuffer(SharedFlag::kNotShared, pretenure);
2222 static_cast<int>(number_of_elements), array_type, true, pretenure);