Home
last modified time | relevance | path

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

123456

/external/v8/src/
Droots-inl.h17 ReadOnlyRoots::ReadOnlyRoots(Isolate* isolate) : heap_(isolate->heap()) {} in ReadOnlyRoots() function
20 type* ReadOnlyRoots::name() { \
23 Handle<type> ReadOnlyRoots::name##_handle() { \
31 String* ReadOnlyRoots::name() { \
34 Handle<String> ReadOnlyRoots::name##_handle() { \
42 Symbol* ReadOnlyRoots::name() { \ in INTERNALIZED_STRING_LIST()
45 Handle<Symbol> ReadOnlyRoots::name##_handle() { \
53 Symbol* ReadOnlyRoots::name() { \
56 Handle<Symbol> ReadOnlyRoots::name##_handle() { \
65 Map* ReadOnlyRoots::name##_map() { \
[all …]
Didentity-map.cc48 Object* not_mapped = ReadOnlyRoots(heap_).not_mapped_symbol(); in ScanKeysFor()
61 Object* not_mapped = ReadOnlyRoots(heap_).not_mapped_symbol(); in InsertKey()
83 Object* not_mapped = ReadOnlyRoots(heap_).not_mapped_symbol(); in DeleteIndex()
144 CHECK_NE(address, ReadOnlyRoots(heap_).not_mapped_symbol()); in Hash()
162 Object* not_mapped = ReadOnlyRoots(heap_).not_mapped_symbol(); in GetEntry()
200 DCHECK_NE(keys_[index], ReadOnlyRoots(heap_).not_mapped_symbol()); in KeyAtIndex()
208 DCHECK_NE(keys_[index], ReadOnlyRoots(heap_).not_mapped_symbol()); in EntryAtIndex()
217 Object* not_mapped = ReadOnlyRoots(heap_).not_mapped_symbol(); in NextIndex()
235 Object* not_mapped = ReadOnlyRoots(heap_).not_mapped_symbol(); in Rehash()
273 Object* not_mapped = ReadOnlyRoots(heap_).not_mapped_symbol(); in Resize()
Disolate-inl.h52 thread_local_top_.pending_exception_ = ReadOnlyRoots(this).the_hole_value(); in clear_pending_exception()
74 thread_local_top_.pending_message_obj_ = ReadOnlyRoots(this).the_hole_value(); in clear_pending_message()
88 ReadOnlyRoots(this).the_hole_value(); in has_scheduled_exception()
94 thread_local_top_.scheduled_exception_ = ReadOnlyRoots(this).the_hole_value(); in clear_scheduled_exception()
98 return exception != ReadOnlyRoots(heap()).termination_exception(); in is_catchable_by_javascript()
/external/v8/src/runtime/
Druntime-test.cc143 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
148 if (!function->IsOptimized()) return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
152 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
165 if (function.is_null()) return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
168 if (!function->IsOptimized()) return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
172 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
180 return ReadOnlyRoots(isolate).true_value(); in RUNTIME_FUNCTION()
182 return ReadOnlyRoots(isolate).false_value(); in RUNTIME_FUNCTION()
199 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
206 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
[all …]
Druntime-promise.cc38 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
48 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
58 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
69 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
79 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
86 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
98 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
122 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
131 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
148 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
[all …]
Druntime-object.cc25 if (*key == ReadOnlyRoots(isolate).iterator_symbol()) { in GetObjectProperty()
183 receiver->SetProperties(ReadOnlyRoots(isolate).empty_fixed_array()); in DeleteObjectPropertyFast()
185 Object* filler = ReadOnlyRoots(isolate).one_pointer_filler_map(); in DeleteObjectPropertyFast()
318 return ReadOnlyRoots(isolate).false_value(); in RUNTIME_FUNCTION()
323 if (!result.IsJust()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
339 if (maybe.IsNothing()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
341 if (maybe.FromJust()) return ReadOnlyRoots(isolate).true_value(); in RUNTIME_FUNCTION()
348 return ReadOnlyRoots(isolate).false_value(); in RUNTIME_FUNCTION()
358 if (maybe.IsNothing()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
370 if (result.IsNothing()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
[all …]
Druntime-collections.cc18 return ReadOnlyRoots(isolate).the_hole_value(); in RUNTIME_FUNCTION()
28 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
39 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
59 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
69 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
100 DCHECK(EphemeronHashTableShape::IsLive(ReadOnlyRoots(isolate), *key)); in RUNTIME_FUNCTION()
132 DCHECK(EphemeronHashTableShape::IsLive(ReadOnlyRoots(isolate), *key)); in RUNTIME_FUNCTION()
Druntime-debug.cc87 return MakePair(ReadOnlyRoots(isolate).exception(), in RUNTIME_FUNCTION_RETURN_PAIR()
113 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
131 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
249 ? ReadOnlyRoots(isolate).undefined_value() in GetInternalProperties()
317 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
326 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
336 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
385 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
411 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
444 return ReadOnlyRoots(isolate).empty_string(); in RUNTIME_FUNCTION()
[all …]
Druntime-operators.cc27 if (result.IsNothing()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
37 if (result.IsNothing()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
63 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()
Druntime-interpreter.cc120 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
149 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
154 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
177 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
186 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
212 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
Druntime-proxy.cc55 return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
78 return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
82 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
108 if (!result.IsJust()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
Druntime-array.cc90 MAYBE_RETURN(has_element, ReadOnlyRoots(isolate).exception()); in RemoveArrayHolesGeneric()
105 MAYBE_RETURN(free_position, ReadOnlyRoots(isolate).exception()); in RemoveArrayHolesGeneric()
145 MAYBE_RETURN(delete_result, ReadOnlyRoots(isolate).exception()); in RemoveArrayHolesGeneric()
223 if (elements_base->map() == ReadOnlyRoots(isolate).fixed_double_array_map()) { in RemoveArrayHoles()
373 return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
693 return ReadOnlyRoots(isolate).true_value(); in RUNTIME_FUNCTION()
696 return ReadOnlyRoots(isolate).false_value(); in RUNTIME_FUNCTION()
705 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
759 if (len == 0) return ReadOnlyRoots(isolate).false_value(); in RUNTIME_FUNCTION()
778 if (start_from >= len) return ReadOnlyRoots(isolate).false_value(); in RUNTIME_FUNCTION()
[all …]
Druntime-compiler.cc40 return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
55 return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
89 return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
178 return ReadOnlyRoots(isolate).undefined_value(); in RUNTIME_FUNCTION()
313 return ReadOnlyRoots(isolate).exception(); in CompileGlobalEval()
325 ReadOnlyRoots(isolate).exception()); in CompileGlobalEval()
Druntime-strings.cc127 return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
135 return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
171 return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
265 return ReadOnlyRoots(isolate).nan_value(); in RUNTIME_FUNCTION()
294 return isolate->Throw(ReadOnlyRoots(isolate).illegal_argument_string()); in RUNTIME_FUNCTION()
308 return ReadOnlyRoots(isolate).empty_string(); in RUNTIME_FUNCTION()
318 return isolate->Throw(ReadOnlyRoots(isolate).illegal_argument_string()); in RUNTIME_FUNCTION()
321 return ReadOnlyRoots(isolate).empty_string(); in RUNTIME_FUNCTION()
361 return ReadOnlyRoots(isolate).empty_string(); in RUNTIME_FUNCTION()
575 Object* undefined = ReadOnlyRoots(heap).undefined_value(); in CopyCachedOneByteCharsToArray()
[all …]
Druntime-scopes.cc73 if (maybe.IsNothing()) return ReadOnlyRoots(isolate).exception(); in DeclareGlobal()
80 if (is_var) return ReadOnlyRoots(isolate).undefined_value(); in DeclareGlobal()
130 return ReadOnlyRoots(isolate).undefined_value(); in DeclareGlobal()
189 return ReadOnlyRoots(isolate).undefined_value(); in DeclareGlobals()
277 if (is_var) return ReadOnlyRoots(isolate).undefined_value(); in DeclareEvalHelper()
283 return ReadOnlyRoots(isolate).undefined_value(); in DeclareEvalHelper()
307 return ReadOnlyRoots(isolate).undefined_value(); in DeclareEvalHelper()
410 ReadOnlyRoots(isolate).sloppy_arguments_elements_map()); in NewSloppyArguments()
650 if (maybe.IsNothing()) return ReadOnlyRoots(isolate).exception(); in FindNameClash()
664 return ReadOnlyRoots(isolate).undefined_value(); in FindNameClash()
[all …]
/external/v8/src/builtins/
Dbuiltins-object.cc32 if (maybe.IsNothing()) return ReadOnlyRoots(isolate).exception(); in BUILTIN()
33 if (maybe.FromJust() == ABSENT) return ReadOnlyRoots(isolate).false_value(); in BUILTIN()
95 MAYBE_RETURN(success, ReadOnlyRoots(isolate).exception()); in ObjectDefineAccessor()
100 return ReadOnlyRoots(isolate).undefined_value(); in ObjectDefineAccessor()
126 return ReadOnlyRoots(isolate).undefined_value(); in ObjectLookupAccessor()
132 MAYBE_RETURN(found, ReadOnlyRoots(isolate).exception()); in ObjectLookupAccessor()
140 return ReadOnlyRoots(isolate).undefined_value(); in ObjectLookupAccessor()
146 return ReadOnlyRoots(isolate).undefined_value(); in ObjectLookupAccessor()
153 return ReadOnlyRoots(isolate).undefined_value(); in ObjectLookupAccessor()
165 return ReadOnlyRoots(isolate).undefined_value(); in ObjectLookupAccessor()
[all …]
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()
169 if (std::isnan(value_number)) return ReadOnlyRoots(isolate).NaN_string(); in BUILTIN()
171 return (value_number < 0.0) ? ReadOnlyRoots(isolate).minus_Infinity_string() in BUILTIN()
172 : ReadOnlyRoots(isolate).Infinity_string(); in BUILTIN()
233 if (std::isnan(value_number)) return ReadOnlyRoots(isolate).NaN_string(); in BUILTIN()
[all …]
Dconstants-table-builder.cc15 DCHECK_EQ(ReadOnlyRoots(isolate_).empty_fixed_array(), in BuiltinsConstantsTableBuilder()
33 DCHECK_EQ(ReadOnlyRoots(isolate_).empty_fixed_array(), in AddObject()
63 DCHECK_EQ(ReadOnlyRoots(isolate_).empty_fixed_array(), in PatchSelfReference()
75 DCHECK(*self_reference != ReadOnlyRoots(isolate_).self_reference_marker()); in PatchSelfReference()
88 DCHECK_EQ(ReadOnlyRoots(isolate_).empty_fixed_array(), in Finalize()
117 DCHECK_NE(ReadOnlyRoots(isolate_).undefined_value(), table->get(i)); in Finalize()
118 DCHECK_NE(ReadOnlyRoots(isolate_).self_reference_marker(), table->get(i)); in Finalize()
Dbuiltins-reflect.cc40 return ReadOnlyRoots(isolate).exception(); in BUILTIN()
45 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in BUILTIN()
69 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in BUILTIN()
117 MAYBE_RETURN(found, ReadOnlyRoots(isolate).exception()); in BUILTIN()
118 if (!found.FromJust()) return ReadOnlyRoots(isolate).undefined_value(); in BUILTIN()
154 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in BUILTIN()
195 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in BUILTIN()
222 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in BUILTIN()
247 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in BUILTIN()
Dbuiltins-string.cc60 if (length == 0) return ReadOnlyRoots(isolate).empty_string(); in BUILTIN()
72 return ReadOnlyRoots(isolate).exception(); in BUILTIN()
102 return ReadOnlyRoots(isolate).exception(); in BUILTIN()
130 return ReadOnlyRoots(isolate).exception(); in BUILTIN()
154 if (start < 0) return ReadOnlyRoots(isolate).false_value(); in BUILTIN()
177 return ReadOnlyRoots(isolate).false_value(); in BUILTIN()
180 return ReadOnlyRoots(isolate).true_value(); in BUILTIN()
297 return ReadOnlyRoots(isolate).exception(); in BUILTIN()
321 return ReadOnlyRoots(isolate).false_value(); in BUILTIN()
330 return ReadOnlyRoots(isolate).false_value(); in BUILTIN()
[all …]
Dbuiltins-typed-array.cc174 if (args.length() < 2) return ReadOnlyRoots(isolate).false_value(); in BUILTIN()
177 if (len == 0) return ReadOnlyRoots(isolate).false_value(); in BUILTIN()
189 return ReadOnlyRoots(isolate).false_value(); in BUILTIN()
196 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in BUILTIN()
227 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in BUILTIN()
261 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in BUILTIN()
Dbuiltins-sharedarraybuffer.cc98 if (maybe_index.IsNothing()) return ReadOnlyRoots(isolate).exception(); in BUILTIN()
135 if (maybe_index.IsNothing()) return ReadOnlyRoots(isolate).exception(); in BUILTIN()
144 timeout_number = ReadOnlyRoots(isolate).infinity_value()->Number(); in BUILTIN()
150 timeout_number = ReadOnlyRoots(isolate).infinity_value()->Number(); in BUILTIN()
Dbuiltins-collections.cc18 return ReadOnlyRoots(isolate).undefined_value(); in BUILTIN()
26 return ReadOnlyRoots(isolate).undefined_value(); in BUILTIN()
/external/v8/src/objects/
Dhash-table-inl.h71 return FindEntry(ReadOnlyRoots(isolate), key, Shape::Hash(isolate, key)); in FindEntry()
76 int HashTable<Derived, Shape>::FindEntry(ReadOnlyRoots roots, Key key, in FindEntry()
99 bool HashTable<Derived, Shape>::IsKey(ReadOnlyRoots roots, Object* k) { in IsKey()
104 bool HashTable<Derived, Shape>::ToKey(ReadOnlyRoots roots, int entry, in ToKey()
113 bool BaseShape<KeyT>::IsKey(ReadOnlyRoots roots, Object* key) { in IsKey()
118 bool BaseShape<KeyT>::IsLive(ReadOnlyRoots roots, Object* k) { in IsLive()
136 return FindEntry(ReadOnlyRoots(isolate), key, hash) != kNotFound; in Has()
142 return FindEntry(ReadOnlyRoots(isolate), key, Smi::ToInt(hash)) != kNotFound; in Has()
Dhash-table.h61 static inline bool IsKey(ReadOnlyRoots roots, Object* key);
62 static inline bool IsLive(ReadOnlyRoots roots, Object* key);
147 inline int FindEntry(ReadOnlyRoots roots, Key key, int32_t hash);
155 static bool IsKey(ReadOnlyRoots roots, Object* k);
157 inline bool ToKey(ReadOnlyRoots roots, int entry, Object** out_k);
280 Object* Lookup(ReadOnlyRoots roots, Handle<Object> key, int32_t hash);

123456