/external/v8/src/objects/ |
D | module-info.h | 25 class ModuleInfo : public FixedArray { 32 inline FixedArray* module_requests() const { in module_requests() 33 return FixedArray::cast(get(kModuleRequestsIndex)); in module_requests() 36 inline FixedArray* special_exports() const { in special_exports() 37 return FixedArray::cast(get(kSpecialExportsIndex)); in special_exports() 40 inline FixedArray* regular_exports() const { in regular_exports() 41 return FixedArray::cast(get(kRegularExportsIndex)); in regular_exports() 44 inline FixedArray* regular_imports() const { in regular_imports() 45 return FixedArray::cast(get(kRegularImportsIndex)); in regular_imports() 48 inline FixedArray* namespace_imports() const { in namespace_imports() [all …]
|
/external/v8/src/ |
D | keys.cc | 24 static bool ContainsOnlyValidKeys(Handle<FixedArray> array) { in ContainsOnlyValidKeys() 36 MaybeHandle<FixedArray> KeyAccumulator::GetKeys( in GetKeys() 45 Handle<FixedArray> KeyAccumulator::GetKeys(GetKeysConversion convert) { in GetKeys() 51 return Handle<FixedArray>::cast(keys_); in GetKeys() 54 Handle<FixedArray> result = in GetKeys() 83 void KeyAccumulator::AddKeys(Handle<FixedArray> array, in AddKeys() 99 MaybeHandle<FixedArray> FilterProxyKeys(KeyAccumulator* accumulator, in FilterProxyKeys() 101 Handle<FixedArray> keys, in FilterProxyKeys() 116 MAYBE_RETURN(found, MaybeHandle<FixedArray>()); in FilterProxyKeys() 136 Handle<FixedArray> keys) { in AddKeysFromJSProxy() [all …]
|
D | keys.h | 39 static MaybeHandle<FixedArray> GetKeys( 44 Handle<FixedArray> GetKeys( 58 static Handle<FixedArray> GetOwnEnumPropertyKeys(Isolate* isolate, 62 void AddKeys(Handle<FixedArray> array, AddKeyConversion convert); 97 Handle<FixedArray> keys); 106 Handle<FixedArray> keys_; 136 MaybeHandle<FixedArray> GetKeys( 141 MaybeHandle<FixedArray> GetKeysFast(GetKeysConversion convert); 142 MaybeHandle<FixedArray> GetKeysSlow(GetKeysConversion convert); 144 MaybeHandle<FixedArray> GetOwnKeysWithUninitializedEnumCache();
|
D | elements.cc | 66 V(FastPackedSmiElementsAccessor, FAST_SMI_ELEMENTS, FixedArray) \ 67 V(FastHoleySmiElementsAccessor, FAST_HOLEY_SMI_ELEMENTS, FixedArray) \ 68 V(FastPackedObjectElementsAccessor, FAST_ELEMENTS, FixedArray) \ 69 V(FastHoleyObjectElementsAccessor, FAST_HOLEY_ELEMENTS, FixedArray) \ 75 FixedArray) \ 77 FixedArray) \ 79 FixedArray) \ 81 FixedArray) \ 133 MemsetPointer(FixedArray::cast(to_base)->data_start() + start, in CopyObjectToObjectElements() 141 FixedArray* from = FixedArray::cast(from_base); in CopyObjectToObjectElements() [all …]
|
D | transitions.h | 35 class TransitionArray: public FixedArray { 109 static FixedArray* GetPrototypeTransitions(Map* map); 111 static int NumberOfPrototypeTransitions(FixedArray* proto_transitions) { in NumberOfPrototypeTransitions() 118 static void SetNumberOfPrototypeTransitions(FixedArray* proto_transitions, 121 inline FixedArray* GetPrototypeTransitions(); 122 inline void SetPrototypeTransitions(FixedArray* prototype_transitions); 284 Handle<FixedArray> proto_transitions); 286 static bool CompactPrototypeTransitionArray(FixedArray* array); 288 static Handle<FixedArray> GrowPrototypeTransitionArray( 289 Handle<FixedArray> array, int new_capacity, Isolate* isolate);
|
D | feedback-vector.cc | 71 Handle<FixedArray> array = factory->NewFixedArray(length, TENURED); in New() 174 Handle<FixedArray> array = factory->NewFixedArray(length, TENURED); in New() 247 isolate->factory()->CopyFixedArray(Handle<FixedArray>::cast(vector))); in Copy() 381 Handle<FixedArray> FeedbackNexus::EnsureArrayOfSize(int length) { in EnsureArrayOfSize() 385 FixedArray::cast(*feedback)->length() != length) { in EnsureArrayOfSize() 386 Handle<FixedArray> array = isolate->factory()->NewFixedArray(length); in EnsureArrayOfSize() 390 return Handle<FixedArray>::cast(feedback); in EnsureArrayOfSize() 393 Handle<FixedArray> FeedbackNexus::EnsureExtraArrayOfSize(int length) { in EnsureExtraArrayOfSize() 397 FixedArray::cast(*feedback_extra)->length() != length) { in EnsureExtraArrayOfSize() 398 Handle<FixedArray> array = isolate->factory()->NewFixedArray(length); in EnsureExtraArrayOfSize() [all …]
|
D | field-index-inl.h | 34 first_inobject_offset = FixedArray::kHeaderSize; in ForPropertyIndex() 53 first_inobject_offset = FixedArray::kHeaderSize; in ForLoadByFieldIndex() 54 field_index += FixedArray::kHeaderSize / kPointerSize; in ForLoadByFieldIndex() 80 result -= FixedArray::kHeaderSize / kPointerSize; in GetLoadByFieldIndex()
|
D | elements.h | 91 Handle<FixedArray> values_or_entries, bool get_entries, int* nof_items, 94 virtual MaybeHandle<FixedArray> PrependElementIndices( 96 Handle<FixedArray> keys, GetKeysConversion convert, 99 inline MaybeHandle<FixedArray> PrependElementIndices( 100 Handle<JSObject> object, Handle<FixedArray> keys, 169 virtual Handle<FixedArray> CreateListFromArray(Isolate* isolate,
|
D | compilation-cache.cc | 230 MaybeHandle<FixedArray> CompilationCacheRegExp::Lookup( in Lookup() 245 Handle<FixedArray> data = Handle<FixedArray>::cast(result); in Lookup() 253 return MaybeHandle<FixedArray>(); in Lookup() 260 Handle<FixedArray> data) { in Put() 306 MaybeHandle<FixedArray> CompilationCache::LookupRegExp(Handle<String> source, in LookupRegExp() 308 if (!IsEnabled()) return MaybeHandle<FixedArray>(); in LookupRegExp() 345 Handle<FixedArray> data) { in PutRegExp()
|
D | factory.cc | 146 Handle<FixedArray> Factory::NewFixedArray(int size, PretenureFlag pretenure) { in NewFixedArray() 151 FixedArray); in NewFixedArray() 154 MaybeHandle<FixedArray> Factory::TryNewFixedArray(int size, in TryNewFixedArray() 160 if (!allocation.To(&array)) return MaybeHandle<FixedArray>(); in TryNewFixedArray() 161 return Handle<FixedArray>(FixedArray::cast(array), isolate()); in TryNewFixedArray() 164 Handle<FixedArray> Factory::NewFixedArrayWithHoles(int size, in NewFixedArrayWithHoles() 172 FixedArray); in NewFixedArrayWithHoles() 175 Handle<FixedArray> Factory::NewUninitializedFixedArray(int size) { in NewUninitializedFixedArray() 179 FixedArray); in NewUninitializedFixedArray() 235 Handle<FixedArray> result = in NewFrameArray() [all …]
|
D | factory.h | 36 Handle<FixedArray> NewFixedArray(int size, 44 MaybeHandle<FixedArray> TryNewFixedArray( 48 Handle<FixedArray> NewFixedArrayWithHoles( 53 Handle<FixedArray> NewUninitializedFixedArray(int size); 357 Handle<FixedArray> constant_pool); 398 Handle<FixedArray> CopyFixedArrayWithMap(Handle<FixedArray> array, 401 Handle<FixedArray> CopyFixedArrayAndGrow( 402 Handle<FixedArray> array, int grow_by, 405 Handle<FixedArray> CopyFixedArrayUpTo(Handle<FixedArray> array, int new_len, 408 Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array); [all …]
|
D | transitions.cc | 240 bool TransitionArray::CompactPrototypeTransitionArray(FixedArray* array) { in CompactPrototypeTransitionArray() 269 Handle<FixedArray> TransitionArray::GrowPrototypeTransitionArray( in GrowPrototypeTransitionArray() 270 Handle<FixedArray> array, int new_capacity, Isolate* isolate) { in GrowPrototypeTransitionArray() 288 FixedArray* transitions = GetPrototypeTransitions(map); in NumberOfPrototypeTransitionsForTest() 308 Handle<FixedArray> cache(GetPrototypeTransitions(*map)); in PutPrototypeTransition() 335 FixedArray* cache = GetPrototypeTransitions(*map); in GetPrototypeTransition() 350 FixedArray* TransitionArray::GetPrototypeTransitions(Map* map) { in GetPrototypeTransitions() 366 FixedArray* proto_transitions, int value) { in SetNumberOfPrototypeTransitions() 398 Handle<FixedArray> array = isolate->factory()->NewTransitionArray( in Allocate() 437 Handle<Map> map, Handle<FixedArray> proto_transitions) { in SetPrototypeTransitions() [all …]
|
/external/v8/src/wasm/ |
D | wasm-objects.h | 65 DECLARE_ACCESSORS(functions, FixedArray); 67 FixedArray* dispatch_tables(); 74 Handle<FixedArray>* js_functions); 77 static Handle<FixedArray> AddDispatchTable( 80 Handle<FixedArray> function_table, Handle<FixedArray> signature_table); 160 class WasmSharedModuleData : public FixedArray { 177 DECLARE_OPTIONAL_GETTER(breakpoint_infos, FixedArray); 197 class WasmCompiledModule : public FixedArray { 260 MACRO(OBJECT, FixedArray, code_table) \ 261 MACRO(OBJECT, FixedArray, weak_exported_functions) \ [all …]
|
D | wasm-objects.cc | 262 Handle<FixedArray>* js_functions) { in DEFINE_OBJ_GETTER() 275 Handle<FixedArray> dispatch_tables = isolate->factory()->NewFixedArray(0); in DEFINE_OBJ_GETTER() 282 DEFINE_OBJ_GETTER(WasmTableObject, dispatch_tables, kDispatchTables, FixedArray) in DEFINE_OBJ_GETTER() argument 284 Handle<FixedArray> WasmTableObject::AddDispatchTable( in DEFINE_OBJ_GETTER() 287 Handle<FixedArray> function_table, Handle<FixedArray> signature_table) { in DEFINE_OBJ_GETTER() 288 Handle<FixedArray> dispatch_tables( in DEFINE_OBJ_GETTER() 289 FixedArray::cast(table_obj->GetInternalField(kDispatchTables)), isolate); in DEFINE_OBJ_GETTER() 296 Handle<FixedArray> new_dispatch_tables = in DEFINE_OBJ_GETTER() 311 DEFINE_OBJ_ACCESSORS(WasmTableObject, functions, kFunctions, FixedArray) in DEFINE_OBJ_ACCESSORS() argument 331 Handle<FixedArray> dispatch_tables(table->dispatch_tables()); in Grow() [all …]
|
D | wasm-debug.cc | 205 Handle<FixedArray> breakpoints; in NotifyDebugEventListeners() 315 Handle<FixedArray> GetOrCreateInterpretedFunctions( in GetOrCreateInterpretedFunctions() 319 if (!obj->IsUndefined(isolate)) return Handle<FixedArray>::cast(obj); in GetOrCreateInterpretedFunctions() 321 Handle<FixedArray> new_arr = isolate->factory()->NewFixedArray( in GetOrCreateInterpretedFunctions() 342 FixedArray* code_table = instance->compiled_module()->ptr_to_code_table(); in RedirectCallsitesInInstance() 349 FixedArray* weak_exported_functions = in RedirectCallsitesInInstance() 364 Handle<FixedArray> arr = factory->NewFixedArray(kFieldCount, TENURED); in New() 371 FixedArray* arr = FixedArray::cast(object); in IsDebugInfo() 405 Handle<FixedArray> interpreted_functions = in RedirectToInterpreter() 417 Handle<FixedArray> code_table = instance->compiled_module()->code_table(); in RedirectToInterpreter()
|
D | wasm-module.cc | 85 static void RecordStats(Isolate* isolate, Handle<FixedArray> functions) { in RecordStats() 129 void FlushICache(Isolate* isolate, Handle<FixedArray> code_table) { in FlushICache() 141 FixedArray* array = isolate->native_context()->embedder_data(); in CreateWasmScript() 417 Handle<FixedArray> function_tables = in CompileToModuleObject() 419 Handle<FixedArray> signature_tables = in CompileToModuleObject() 437 Handle<FixedArray> code_table = in CompileToModuleObject() 578 FixedArray* function_tables = compiled_module->ptr_to_function_tables(); in ResetCompiledModule() 579 FixedArray* empty_function_tables = in ResetCompiledModule() 590 FixedArray* functions = FixedArray::cast(fct_obj); in ResetCompiledModule() 828 FixedArray* deopt_data = code->deoptimization_data(); in GetOwningWasmInstance() [all …]
|
/external/v8/src/snapshot/ |
D | natives-common.cc | 15 FixedArray* NativesCollection<CORE>::GetSourceCache(Heap* heap) { in GetSourceCache() 21 FixedArray* NativesCollection<EXPERIMENTAL>::GetSourceCache(Heap* heap) { in GetSourceCache() 27 FixedArray* NativesCollection<EXTRAS>::GetSourceCache(Heap* heap) { in GetSourceCache() 33 FixedArray* NativesCollection<EXPERIMENTAL_EXTRAS>::GetSourceCache(Heap* heap) { in GetSourceCache()
|
/external/v8/src/heap/ |
D | object-stats.cc | 260 if (obj->IsFixedArray()) RecordFixedArrayDetails(FixedArray::cast(obj)); in CollectStatistics() 350 FixedArray* array, in RecordFixedArrayHelper() 362 FixedArray* array, in RecursivelyRecordFixedArrayHelper() 368 parent, FixedArray::cast(array->get(i)), subtype); in RecursivelyRecordFixedArrayHelper() 382 FixedArray::kHeaderSize; in RecordHashTableHelper() 398 overhead = elements->Size() - used - FixedArray::kHeaderSize; in RecordJSObjectDetails() 434 RecordFixedArrayHelper(nullptr, FixedArray::cast(JSMap::cast(obj)->table()), in RecordJSCollectionDetails() 438 RecordFixedArrayHelper(nullptr, FixedArray::cast(JSSet::cast(obj)->table()), in RecordJSCollectionDetails() 444 FixedArray* infos = FixedArray::cast(obj->shared_function_infos()); in RecordScriptDetails() 464 FixedArray* code_cache = map_obj->code_cache(); in RecordMapDetails() [all …]
|
D | heap.h | 63 V(FixedArray, empty_fixed_array, EmptyFixedArray) \ 152 V(FixedArray, empty_sloppy_arguments_elements, EmptySloppyArgumentsElements) \ 173 V(FixedArray, number_string_cache, NumberStringCache) \ 174 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \ 175 V(FixedArray, string_split_cache, StringSplitCache) \ 176 V(FixedArray, regexp_multiple_cache, RegExpMultipleCache) \ 180 V(FixedArray, natives_source_cache, NativesSourceCache) \ 181 V(FixedArray, experimental_natives_source_cache, \ 183 V(FixedArray, extra_natives_source_cache, ExtraNativesSourceCache) \ 184 V(FixedArray, experimental_extra_natives_source_cache, \ [all …]
|
/external/v8/src/builtins/ |
D | builtins-arguments.cc | 72 base_size += FixedArray::kHeaderSize; in AllocateArgumentsObject() 80 base_size + FixedArray::kHeaderSize); in AllocateArgumentsObject() 92 StoreObjectFieldNoWriteBarrier(arguments, FixedArray::kLengthOffset, in AllocateArgumentsObject() 100 arguments_count, FAST_ELEMENTS, mode, FixedArray::kHeaderSize); in AllocateArgumentsObject() 108 StoreObjectFieldNoWriteBarrier(parameter_map, FixedArray::kLengthOffset, in AllocateArgumentsObject() 172 rest_count, &runtime, JSArray::kSize + FixedArray::kHeaderSize, mode); in EmitFastNewRestParameter() 225 JSStrictArgumentsObject::kSize + FixedArray::kHeaderSize, mode); in EmitFastNewStrictArguments() 298 JSSloppyArgumentsObject::kSize + FixedArray::kHeaderSize * 2, mode); in EmitFastNewSloppyArguments() 317 FixedArray::kHeaderSize - kHeapObjectTag); in EmitFastNewSloppyArguments() 320 FixedArray::kHeaderSize - kHeapObjectTag); in EmitFastNewSloppyArguments() [all …]
|
/external/v8/src/ast/ |
D | compile-time-value.cc | 22 Handle<FixedArray> CompileTimeValue::GetValue(Isolate* isolate, in GetValue() 26 Handle<FixedArray> result = factory->NewFixedArray(2, TENURED); in GetValue() 46 Handle<FixedArray> value) { in GetLiteralType() 51 Handle<HeapObject> CompileTimeValue::GetElements(Handle<FixedArray> value) { in GetElements()
|
D | compile-time-value.h | 29 static Handle<FixedArray> GetValue(Isolate* isolate, Expression* expression); 32 static LiteralType GetLiteralType(Handle<FixedArray> value); 35 static Handle<HeapObject> GetElements(Handle<FixedArray> value);
|
/external/v8/src/asmjs/ |
D | asm-js.h | 19 static MaybeHandle<FixedArray> CompileAsmViaWasm(CompilationInfo* info); 20 static bool IsStdlibValid(Isolate* isolate, Handle<FixedArray> wasm_data, 23 Handle<FixedArray> wasm_data,
|
D | asm-js.cc | 166 MaybeHandle<FixedArray> AsmJs::CompileAsmViaWasm(CompilationInfo* info) { in CompileAsmViaWasm() 171 Handle<FixedArray> foreign_globals; in CompileAsmViaWasm() 180 return MaybeHandle<FixedArray>(); in CompileAsmViaWasm() 201 Handle<FixedArray> uses_array = in CompileAsmViaWasm() 208 Handle<FixedArray> result = in CompileAsmViaWasm() 243 bool AsmJs::IsStdlibValid(i::Isolate* isolate, Handle<FixedArray> wasm_data, in IsStdlibValid() 245 i::Handle<i::FixedArray> uses( in IsStdlibValid() 246 i::FixedArray::cast(wasm_data->get(kWasmDataUsesArray))); in IsStdlibValid() 257 Handle<FixedArray> wasm_data, in InstantiateAsmWasm() 264 i::Handle<i::FixedArray> foreign_globals( in InstantiateAsmWasm() [all …]
|
/external/v8/src/runtime/ |
D | runtime-strings.cc | 288 FixedArray* fixed_array = FixedArray::cast(array->elements()); in RUNTIME_FUNCTION() 315 FixedArray::cast(array->elements()), in RUNTIME_FUNCTION() 323 FixedArray::cast(array->elements()), in RUNTIME_FUNCTION() 342 Handle<FixedArray> fixed_array(FixedArray::cast(array->elements())); in RUNTIME_FUNCTION() 435 static void JoinSparseArrayWithSeparator(FixedArray* elements, in JoinSparseArrayWithSeparator() 491 FixedArray* elements = FixedArray::cast(elements_array->elements()); in RUNTIME_FUNCTION() 539 FixedArray::cast(elements_array->elements()), elements_length, in RUNTIME_FUNCTION() 548 FixedArray::cast(elements_array->elements()), elements_length, in RUNTIME_FUNCTION() 561 FixedArray* elements, int length) { in CopyCachedOneByteCharsToArray() 563 FixedArray* one_byte_cache = heap->single_character_string_cache(); in CopyCachedOneByteCharsToArray() [all …]
|