/third_party/node/deps/v8/src/roots/ |
D | roots-inl.h | 61 ReadOnlyRoots::ReadOnlyRoots(Heap* heap) in ReadOnlyRoots() function 62 : ReadOnlyRoots(Isolate::FromHeap(heap)) {} in ReadOnlyRoots() 64 ReadOnlyRoots::ReadOnlyRoots(Isolate* isolate) in ReadOnlyRoots() function 68 ReadOnlyRoots::ReadOnlyRoots(LocalIsolate* isolate) in ReadOnlyRoots() function 69 : ReadOnlyRoots(isolate->factory()->read_only_roots()) {} in ReadOnlyRoots() 76 Type ReadOnlyRoots::name() const { \ 80 Type ReadOnlyRoots::unchecked_##name() const { \ 84 Handle<Type> ReadOnlyRoots::name##_handle() const { \ 93 Address* ReadOnlyRoots::GetLocation(RootIndex root_index) const { in READ_ONLY_ROOT_LIST() 99 Address ReadOnlyRoots::at(RootIndex root_index) const { in at()
|
/third_party/node/deps/v8/src/builtins/ |
D | builtins-object.cc | 33 if (maybe.IsNothing()) return ReadOnlyRoots(isolate).exception(); in BUILTIN() 34 if (maybe.FromJust() == ABSENT) return ReadOnlyRoots(isolate).false_value(); in BUILTIN() 96 MAYBE_RETURN(success, ReadOnlyRoots(isolate).exception()); in ObjectDefineAccessor() 101 return ReadOnlyRoots(isolate).undefined_value(); in ObjectDefineAccessor() 128 return ReadOnlyRoots(isolate).undefined_value(); in ObjectLookupAccessor() 134 MAYBE_RETURN(found, ReadOnlyRoots(isolate).exception()); in ObjectLookupAccessor() 142 return ReadOnlyRoots(isolate).undefined_value(); in ObjectLookupAccessor() 148 return ReadOnlyRoots(isolate).undefined_value(); in ObjectLookupAccessor() 155 return ReadOnlyRoots(isolate).undefined_value(); in ObjectLookupAccessor() 171 return ReadOnlyRoots(isolate).undefined_value(); in ObjectLookupAccessor() [all …]
|
D | constants-table-builder.cc | 18 DCHECK_EQ(ReadOnlyRoots(isolate_).empty_fixed_array(), in BuiltinsConstantsTableBuilder() 35 DCHECK_EQ(ReadOnlyRoots(isolate_).empty_fixed_array(), in AddObject() 68 DCHECK_EQ(ReadOnlyRoots(isolate).empty_fixed_array(), in CheckPreconditionsForPatching() 94 if (map_.Delete(ReadOnlyRoots(isolate_).basic_block_counters_marker(), in PatchBasicBlockCountersReference() 103 DCHECK_EQ(ReadOnlyRoots(isolate_).empty_fixed_array(), in Finalize() 132 DCHECK_NE(ReadOnlyRoots(isolate_).undefined_value(), table->get(i)); in Finalize() 133 DCHECK_NE(ReadOnlyRoots(isolate_).self_reference_marker(), table->get(i)); in Finalize() 134 DCHECK_NE(ReadOnlyRoots(isolate_).basic_block_counters_marker(), in Finalize()
|
D | builtins-number.cc | 45 if (std::isnan(value_number)) return ReadOnlyRoots(isolate).NaN_string(); in BUILTIN() 47 return (value_number < 0.0) ? ReadOnlyRoots(isolate).minus_Infinity_string() in BUILTIN() 48 : ReadOnlyRoots(isolate).Infinity_string(); in BUILTIN() 99 if (std::isnan(value_number)) return ReadOnlyRoots(isolate).NaN_string(); in BUILTIN() 101 return (value_number < 0.0) ? ReadOnlyRoots(isolate).minus_Infinity_string() in BUILTIN() 102 : ReadOnlyRoots(isolate).Infinity_string(); in BUILTIN() 173 if (std::isnan(value_number)) return ReadOnlyRoots(isolate).NaN_string(); in BUILTIN() 175 return (value_number < 0.0) ? ReadOnlyRoots(isolate).minus_Infinity_string() in BUILTIN() 176 : ReadOnlyRoots(isolate).Infinity_string(); in BUILTIN()
|
D | builtins-async-module.cc | 21 ReadOnlyRoots(isolate).termination_exception()); in BUILTIN() 22 return ReadOnlyRoots(isolate).exception(); in BUILTIN() 24 return ReadOnlyRoots(isolate).undefined_value(); in BUILTIN() 35 return ReadOnlyRoots(isolate).undefined_value(); in BUILTIN()
|
D | builtins-reflect.cc | 40 return ReadOnlyRoots(isolate).exception(); in BUILTIN() 45 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in BUILTIN() 70 MAYBE_RETURN(found, ReadOnlyRoots(isolate).exception()); in BUILTIN() 71 if (!found.FromJust()) return ReadOnlyRoots(isolate).undefined_value(); in BUILTIN() 121 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in BUILTIN()
|
/third_party/node/deps/v8/src/objects/ |
D | hash-table-inl.h | 135 Handle<Map> HashTable<Derived, Shape>::GetMap(ReadOnlyRoots roots) { in GetMap() 140 Handle<Map> NameToIndexHashTable::GetMap(ReadOnlyRoots roots) { in GetMap() 145 Handle<Map> RegisteredSymbolTable::GetMap(ReadOnlyRoots roots) { in GetMap() 150 Handle<Map> EphemeronHashTable::GetMap(ReadOnlyRoots roots) { in GetMap() 157 ReadOnlyRoots roots(isolate); in FindEntry() 164 ReadOnlyRoots roots, Key key, in FindEntry() 187 return FindInsertionEntry(isolate, ReadOnlyRoots(isolate), hash); in FindInsertionEntry() 192 bool HashTable<Derived, Shape>::IsKey(ReadOnlyRoots roots, Object k) { in IsKey() 198 bool HashTable<Derived, Shape>::ToKey(ReadOnlyRoots roots, InternalIndex entry, in ToKey() 265 return FindEntry(isolate, ReadOnlyRoots(isolate), key, hash).is_found(); in Has() [all …]
|
D | js-break-iterator.cc | 163 return ReadOnlyRoots(isolate).character_string_handle(); in TypeAsString() 165 return ReadOnlyRoots(isolate).word_string_handle(); in TypeAsString() 167 return ReadOnlyRoots(isolate).sentence_string_handle(); in TypeAsString() 169 return ReadOnlyRoots(isolate).line_string_handle(); in TypeAsString() 226 return ReadOnlyRoots(isolate).none_string(); in BreakType() 229 return ReadOnlyRoots(isolate).number_string(); in BreakType() 232 return ReadOnlyRoots(isolate).letter_string(); in BreakType() 235 return ReadOnlyRoots(isolate).kana_string(); in BreakType() 238 return ReadOnlyRoots(isolate).ideo_string(); in BreakType() 240 return ReadOnlyRoots(isolate).unknown_string(); in BreakType()
|
D | hash-table.h | 138 static inline Handle<Map> GetMap(ReadOnlyRoots roots); in EXPORT_TEMPLATE_DECLARE() 146 ReadOnlyRoots roots, Key key, int32_t hash); in EXPORT_TEMPLATE_DECLARE() 155 static inline bool IsKey(ReadOnlyRoots roots, Object k); in EXPORT_TEMPLATE_DECLARE() 157 inline bool ToKey(ReadOnlyRoots roots, InternalIndex entry, Object* out_k); in EXPORT_TEMPLATE_DECLARE() 229 ReadOnlyRoots roots, uint32_t hash); in EXPORT_TEMPLATE_DECLARE() 265 InternalIndex EntryForProbe(ReadOnlyRoots roots, Object k, int probe, in EXPORT_TEMPLATE_DECLARE() 317 static inline uint32_t Hash(ReadOnlyRoots roots, Handle<Object> key); 318 static inline uint32_t HashForObject(ReadOnlyRoots roots, Object object); 398 static inline Handle<Map> GetMap(ReadOnlyRoots roots); in EXTERN_DECLARE_OBJECT_BASE_HASH_TABLE() 444 static inline uint32_t Hash(ReadOnlyRoots roots, Handle<Name> key); [all …]
|
D | js-number-format.cc | 377 return ReadOnlyRoots(isolate).percent_string_handle(); in StyleAsString() 379 return ReadOnlyRoots(isolate).currency_string_handle(); in StyleAsString() 381 return ReadOnlyRoots(isolate).unit_string_handle(); in StyleAsString() 383 return ReadOnlyRoots(isolate).decimal_string_handle(); in StyleAsString() 394 return ReadOnlyRoots(isolate).code_string_handle(); in CurrencyDisplayString() 399 return ReadOnlyRoots(isolate).name_string_handle(); in CurrencyDisplayString() 404 return ReadOnlyRoots(isolate).narrowSymbol_string_handle(); in CurrencyDisplayString() 407 return ReadOnlyRoots(isolate).symbol_string_handle(); in CurrencyDisplayString() 431 return ReadOnlyRoots(isolate).min2_string_handle(); in UseGroupingFromSkeleton() 436 return ReadOnlyRoots(isolate).always_string_handle(); in UseGroupingFromSkeleton() [all …]
|
D | ordered-hash-table-inl.h | 37 bool OrderedHashTable<Derived, entrysize>::IsKey(ReadOnlyRoots roots, in IsKey() 84 Handle<Map> OrderedHashSet::GetMap(ReadOnlyRoots roots) { in OBJECT_CONSTRUCTORS_IMPL() 88 Handle<Map> OrderedHashMap::GetMap(ReadOnlyRoots roots) { in GetMap() 92 Handle<Map> OrderedNameDictionary::GetMap(ReadOnlyRoots roots) { in GetMap() 96 Handle<Map> SmallOrderedNameDictionary::GetMap(ReadOnlyRoots roots) { in GetMap() 100 Handle<Map> SmallOrderedHashMap::GetMap(ReadOnlyRoots roots) { in GetMap() 104 Handle<Map> SmallOrderedHashSet::GetMap(ReadOnlyRoots roots) { in GetMap() 124 bool OrderedHashTable<Derived, entrysize>::ToKey(ReadOnlyRoots roots, in ToKey()
|
D | dictionary.h | 121 static inline uint32_t Hash(ReadOnlyRoots roots, Handle<Name> key); 122 static inline uint32_t HashForObject(ReadOnlyRoots roots, Object object); 188 static inline Handle<Map> GetMap(ReadOnlyRoots roots); in EXTERN_DECLARE_BASE_NAME_DICTIONARY() 210 static inline uint32_t HashForObject(ReadOnlyRoots roots, Object object); 230 static inline Handle<Map> GetMap(ReadOnlyRoots roots); in EXTERN_DECLARE_BASE_NAME_DICTIONARY() 260 static inline uint32_t Hash(ReadOnlyRoots roots, uint32_t key); 261 static inline uint32_t HashForObject(ReadOnlyRoots roots, Object object); 297 static inline Handle<Map> GetMap(ReadOnlyRoots roots); in EXTERN_DECLARE_DICTIONARY() 319 static inline Handle<Map> GetMap(ReadOnlyRoots roots); in EXTERN_DECLARE_DICTIONARY()
|
/third_party/node/deps/v8/src/runtime/ |
D | runtime-test.cc | 55 return ReadOnlyRoots(isolate).undefined_value(); in CrashUnlessFuzzing() 67 ? ReadOnlyRoots(isolate).undefined_value() in ReturnFuzzSafe() 105 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 158 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 176 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 183 return ReadOnlyRoots(isolate).true_value(); in RUNTIME_FUNCTION() 185 return ReadOnlyRoots(isolate).false_value(); in RUNTIME_FUNCTION() 306 return ReadOnlyRoots(isolate).undefined_value(); in OptimizeFunctionOnNextCall() 335 return ReadOnlyRoots(isolate).undefined_value(); in OptimizeFunctionOnNextCall() 421 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() [all …]
|
D | runtime-trace.cc | 109 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 117 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 120 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 154 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 159 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 167 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 170 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 194 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 203 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 229 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
|
D | runtime-object.cc | 88 return maybe.FromJust() ? ReadOnlyRoots(isolate).true_value_handle() in HasProperty() 89 : ReadOnlyRoots(isolate).false_value_handle(); in HasProperty() 102 ReadOnlyRoots(isolate).one_pointer_filler_map_word(); in ClearField() 105 ReadOnlyRoots(isolate).one_pointer_filler_map()); in ClearField() 112 ReadOnlyRoots(isolate).one_pointer_filler_map()); in ClearField() 210 receiver->SetProperties(ReadOnlyRoots(isolate).empty_fixed_array()); in DeleteObjectPropertyFast() 365 if (!success) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION() 373 if (!result.IsJust()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION() 387 if (maybe.IsNothing()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION() 389 if (maybe.FromJust()) return ReadOnlyRoots(isolate).true_value(); in RUNTIME_FUNCTION() [all …]
|
D | runtime-promise.cc | 41 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 51 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 61 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 72 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 85 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 92 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 104 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 121 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 131 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 141 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
|
D | runtime-collections.cc | 20 return ReadOnlyRoots(isolate).the_hole_value(); in RUNTIME_FUNCTION() 37 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 47 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 57 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 74 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 86 DCHECK(EphemeronHashTable::IsKey(ReadOnlyRoots(isolate), *key)); in RUNTIME_FUNCTION() 109 DCHECK(EphemeronHashTable::IsKey(ReadOnlyRoots(isolate), *key)); in RUNTIME_FUNCTION()
|
D | runtime-test-wasm.cc | 111 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 119 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 176 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 230 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 238 return ReadOnlyRoots(isolate).false_value(); in RUNTIME_FUNCTION() 243 return ReadOnlyRoots(isolate).false_value(); in RUNTIME_FUNCTION() 245 return ReadOnlyRoots(isolate).true_value(); in RUNTIME_FUNCTION() 264 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 369 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 426 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() [all …]
|
D | runtime-operators.cc | 29 if (result.IsNothing()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION() 39 if (result.IsNothing()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION() 73 if (result.IsNothing()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION() 83 if (result.IsNothing()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION() 93 if (result.IsNothing()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION() 103 if (result.IsNothing()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
|
D | runtime-debug.cc | 100 return MakePair(ReadOnlyRoots(isolate).exception(), in RUNTIME_FUNCTION_RETURN_PAIR() 133 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 157 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 409 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 418 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 428 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 477 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 503 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() 536 return ReadOnlyRoots(isolate).empty_string(); in RUNTIME_FUNCTION() 547 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION() [all …]
|
/third_party/node/deps/v8/src/numbers/ |
D | hash-seed-inl.h | 21 class ReadOnlyRoots; variable 25 inline uint64_t HashSeed(ReadOnlyRoots roots); 38 return HashSeed(ReadOnlyRoots(isolate)); in HashSeed() 42 return HashSeed(ReadOnlyRoots(isolate)); in HashSeed() 45 inline uint64_t HashSeed(ReadOnlyRoots roots) { in HashSeed()
|
/third_party/node/deps/v8/src/heap/ |
D | read-only-heap-inl.h | 16 ReadOnlyRoots ReadOnlyHeap::GetReadOnlyRoots(HeapObject object) { in GetReadOnlyRoots() 18 return ReadOnlyRoots( in GetReadOnlyRoots() 26 return ReadOnlyRoots(shared_ro_heap->read_only_roots_); in GetReadOnlyRoots() 29 return ReadOnlyRoots(GetHeapFromWritableObject(object)); in GetReadOnlyRoots()
|
/third_party/node/deps/v8/src/utils/ |
D | identity-map.cc | 52 Address not_mapped = ReadOnlyRoots(heap_).not_mapped_symbol().ptr(); in ScanKeysFor() 73 Address not_mapped = ReadOnlyRoots(heap_).not_mapped_symbol().ptr(); in InsertKey() 95 Address not_mapped = ReadOnlyRoots(heap_).not_mapped_symbol().ptr(); in DeleteIndex() 161 CHECK_NE(address, ReadOnlyRoots(heap_).not_mapped_symbol().ptr()); in Hash() 203 Address not_mapped = ReadOnlyRoots(heap_).not_mapped_symbol().ptr(); in InsertEntry() 237 DCHECK_NE(keys_[index], ReadOnlyRoots(heap_).not_mapped_symbol().ptr()); in KeyAtIndex() 245 DCHECK_NE(keys_[index], ReadOnlyRoots(heap_).not_mapped_symbol().ptr()); in EntryAtIndex() 254 Address not_mapped = ReadOnlyRoots(heap_).not_mapped_symbol().ptr(); in NextIndex() 272 Address not_mapped = ReadOnlyRoots(heap_).not_mapped_symbol().ptr(); in Rehash() 310 Address not_mapped = ReadOnlyRoots(heap_).not_mapped_symbol().ptr(); in Resize()
|
/third_party/node/deps/v8/src/snapshot/ |
D | startup-deserializer.cc | 54 ReadOnlyRoots(isolate()).undefined_value()); in DeserializeIntoIsolate() 59 ReadOnlyRoots(isolate()).undefined_value()); in DeserializeIntoIsolate() 62 ReadOnlyRoots(isolate()).undefined_value()); in DeserializeIntoIsolate() 64 ReadOnlyRoots(isolate()).undefined_value()); in DeserializeIntoIsolate()
|
D | startup-serializer.cc | 39 ReadOnlyRoots(isolate).undefined_value()); in SanitizeIsolateScope() 41 ReadOnlyRoots(isolate).empty_weak_array_list()); in SanitizeIsolateScope() 46 ReadOnlyRoots(isolate).undefined_value()); in SanitizeIsolateScope() 48 ReadOnlyRoots(isolate).empty_weak_array_list()); in SanitizeIsolateScope() 182 ReadOnlyRoots(isolate()).uninitialized_symbol()); in SerializeObjectImpl() 188 ReadOnlyRoots(isolate()).empty_string()); in SerializeObjectImpl() 204 Object undefined = ReadOnlyRoots(isolate()).undefined_value(); in SerializeWeakReferencesAndDeferred()
|