Home
last modified time | relevance | path

Searched refs:ReadOnlyRoots (Results 1 – 25 of 213) sorted by relevance

123456789

/third_party/node/deps/v8/src/roots/
Droots-inl.h61 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/
Dbuiltins-object.cc33 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 …]
Dconstants-table-builder.cc18 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()
Dbuiltins-number.cc45 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()
Dbuiltins-async-module.cc21 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()
Dbuiltins-reflect.cc40 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/
Dhash-table-inl.h135 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 …]
Djs-break-iterator.cc163 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()
Dhash-table.h138 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 …]
Djs-number-format.cc377 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 …]
Dordered-hash-table-inl.h37 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()
Ddictionary.h121 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/
Druntime-test.cc55 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 …]
Druntime-trace.cc109 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()
Druntime-object.cc88 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 …]
Druntime-promise.cc41 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()
Druntime-collections.cc20 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()
Druntime-test-wasm.cc111 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 …]
Druntime-operators.cc29 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()
Druntime-debug.cc100 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/
Dhash-seed-inl.h21 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/
Dread-only-heap-inl.h16 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/
Didentity-map.cc52 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/
Dstartup-deserializer.cc54 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()
Dstartup-serializer.cc39 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()

123456789