Home
last modified time | relevance | path

Searched refs:LookupIterator (Results 1 – 25 of 41) sorted by relevance

12

/external/v8/src/
Dlookup.cc18 LookupIterator LookupIterator::PropertyOrElement(Isolate* isolate, in PropertyOrElement()
26 return LookupIterator(isolate, receiver, index, configuration); in PropertyOrElement()
34 return LookupIterator(receiver, isolate->factory()->empty_string()); in PropertyOrElement()
38 LookupIterator it(isolate, receiver, index, configuration); in PropertyOrElement()
45 return LookupIterator(receiver, name, configuration); in PropertyOrElement()
49 void LookupIterator::Start() { in Start()
65 template void LookupIterator::Start<true>();
66 template void LookupIterator::Start<false>();
68 void LookupIterator::Next() { in Next()
88 void LookupIterator::NextInternal(Map* map, JSReceiver* holder) { in NextInternal()
[all …]
Dlookup.h15 class LookupIterator final BASE_EMBEDDED {
44 LookupIterator(Handle<Object> receiver, Handle<Name> name,
63 LookupIterator(Handle<Object> receiver, Handle<Name> name,
83 LookupIterator(Isolate* isolate, Handle<Object> receiver, uint32_t index,
98 LookupIterator(Isolate* isolate, Handle<Object> receiver, uint32_t index,
114 static LookupIterator PropertyOrElement(
119 LookupIterator it =
120 LookupIterator(isolate, receiver, index, configuration);
124 return LookupIterator(receiver, name, configuration);
127 static LookupIterator PropertyOrElement(
[all …]
Dmessages.cc235 LookupIterator::Configuration config) { in CheckMethodName()
236 LookupIterator iter = in CheckMethodName()
237 LookupIterator::PropertyOrElement(isolate, obj, name, config); in CheckMethodName()
238 if (iter.state() == LookupIterator::DATA) { in CheckMethodName()
240 } else if (iter.state() == LookupIterator::ACCESSOR) { in CheckMethodName()
275 LookupIterator::PROTOTYPE_CHAIN_SKIP_INTERCEPTOR)) { in GetMethodName()
295 LookupIterator::OWN_SKIP_INTERCEPTOR)) in GetMethodName()
Dobjects.cc766 Maybe<bool> JSReceiver::HasProperty(LookupIterator* it) { in HasProperty()
769 case LookupIterator::NOT_FOUND: in HasProperty()
770 case LookupIterator::TRANSITION: in HasProperty()
772 case LookupIterator::JSPROXY: in HasProperty()
775 case LookupIterator::INTERCEPTOR: { in HasProperty()
782 case LookupIterator::ACCESS_CHECK: { in HasProperty()
789 case LookupIterator::INTEGER_INDEXED_EXOTIC: in HasProperty()
792 case LookupIterator::ACCESSOR: in HasProperty()
793 case LookupIterator::DATA: in HasProperty()
802 MaybeHandle<Object> Object::GetProperty(LookupIterator* it) { in GetProperty()
[all …]
Dproperty-descriptor.cc23 LookupIterator it(receiver, name, receiver); in GetPropertyIfPresent()
108 LookupIterator it(object, name, object, LookupIterator::OWN_SKIP_INTERCEPTOR); in CreateDataProperty()
Dbuiltins.cc679 LookupIterator it(isolate_, storage_, index, LookupIterator::OWN); in visit()
1539 LookupIterator it(from, next_key, from, in FastAssign()
1540 LookupIterator::OWN_SKIP_INTERCEPTOR); in FastAssign()
1542 DCHECK(it.state() == LookupIterator::DATA || in FastAssign()
1543 it.state() == LookupIterator::ACCESSOR); in FastAssign()
1548 LookupIterator it(to, next_key, to); in FastAssign()
1549 bool call_to_js = it.IsFound() && it.state() != LookupIterator::DATA; in FastAssign()
1746 LookupIterator it = LookupIterator::PropertyOrElement( in ObjectLookupAccessor()
1748 LookupIterator::PROTOTYPE_CHAIN_SKIP_INTERCEPTOR); in ObjectLookupAccessor()
1753 case LookupIterator::INTERCEPTOR: in ObjectLookupAccessor()
[all …]
Dcontexts.cc158 static Maybe<bool> UnscopableLookup(LookupIterator* it) { in UnscopableLookup()
292 LookupIterator it(object, name, object); in Lookup()
381 LookupIterator it(extension, name, extension); in Lookup()
Dobjects.h853 class LookupIterator; variable
1254 MUST_USE_RESULT static MaybeHandle<Object> GetProperty(LookupIterator* it);
1263 MUST_USE_RESULT static Maybe<bool> SetProperty(LookupIterator* it,
1277 LookupIterator* it, Handle<Object> value, LanguageMode language_mode,
1281 LookupIterator* it);
1288 LookupIterator* it, Handle<Object> value, ShouldThrow should_throw);
1295 MUST_USE_RESULT static Maybe<bool> SetDataProperty(LookupIterator* it,
1298 LookupIterator* it, Handle<Object> value, PropertyAttributes attributes,
1308 LookupIterator* it);
1310 LookupIterator* it, Handle<Object> value, ShouldThrow should_throw);
[all …]
Dobjects-inl.h1056 LookupIterator it(object, name); in GetProperty()
1063 LookupIterator it(receiver, name, receiver); in GetProperty()
1070 LookupIterator it(isolate, object, index); in GetElement()
1078 LookupIterator it(isolate, receiver, index, receiver); in GetElement()
1085 LookupIterator it(object, name, object, in GetDataProperty()
1086 LookupIterator::PROTOTYPE_CHAIN_SKIP_INTERCEPTOR); in GetDataProperty()
1094 LookupIterator it(isolate, object, index); in SetElement()
7178 LookupIterator it = in GetPropertyOrElement()
7179 LookupIterator::PropertyOrElement(name->GetIsolate(), object, name); in GetPropertyOrElement()
7188 LookupIterator it = in SetPropertyOrElement()
[all …]
Dapi-natives.cc81 LookupIterator it = LookupIterator::PropertyOrElement( in DefineDataProperty()
82 isolate, object, name, LookupIterator::OWN_SKIP_INTERCEPTOR); in DefineDataProperty()
Delements.h156 friend class LookupIterator;
Daccessors.cc94 LookupIterator it(receiver, name, holder, in ReplaceAccessorWithDataProperty()
95 LookupIterator::OWN_SKIP_INTERCEPTOR); in ReplaceAccessorWithDataProperty()
98 if (it.state() == LookupIterator::ACCESS_CHECK) { in ReplaceAccessorWithDataProperty()
103 CHECK_EQ(LookupIterator::ACCESSOR, it.state()); in ReplaceAccessorWithDataProperty()
Dbootstrapper.cc1019 LookupIterator it(prototype, factory()->constructor_string(), in CreateNewGlobals()
1020 LookupIterator::OWN_SKIP_INTERCEPTOR); in CreateNewGlobals()
3678 LookupIterator it(to, key, LookupIterator::OWN_SKIP_INTERCEPTOR); in TransferNamedProperties()
3679 CHECK_NE(LookupIterator::ACCESS_CHECK, it.state()); in TransferNamedProperties()
3703 LookupIterator it(to, key, LookupIterator::OWN_SKIP_INTERCEPTOR); in TransferNamedProperties()
3704 CHECK_NE(LookupIterator::ACCESS_CHECK, it.state()); in TransferNamedProperties()
3726 LookupIterator it(to, key, LookupIterator::OWN_SKIP_INTERCEPTOR); in TransferNamedProperties()
3727 CHECK_NE(LookupIterator::ACCESS_CHECK, it.state()); in TransferNamedProperties()
Djson-stringifier.cc199 LookupIterator it(object, tojson_string_, in ApplyToJsonFunction()
200 LookupIterator::PROTOTYPE_CHAIN_SKIP_INTERCEPTOR); in ApplyToJsonFunction()
/external/v8/src/runtime/
Druntime-forin.cc50 LookupIterator it = in HasEnumerableProperty()
51 LookupIterator::PropertyOrElement(isolate, receiver, key, &success); in HasEnumerableProperty()
55 case LookupIterator::NOT_FOUND: in HasEnumerableProperty()
56 case LookupIterator::TRANSITION: in HasEnumerableProperty()
58 case LookupIterator::JSPROXY: { in HasEnumerableProperty()
78 case LookupIterator::INTERCEPTOR: { in HasEnumerableProperty()
84 case LookupIterator::ACCESS_CHECK: { in HasEnumerableProperty()
91 case LookupIterator::INTEGER_INDEXED_EXOTIC: in HasEnumerableProperty()
94 case LookupIterator::ACCESSOR: in HasEnumerableProperty()
95 case LookupIterator::DATA: in HasEnumerableProperty()
Druntime-object.cc30 LookupIterator it = in GetObjectProperty()
31 LookupIterator::PropertyOrElement(isolate, object, key, &success); in GetObjectProperty()
126 LookupIterator it = LookupIterator::PropertyOrElement( in DeleteObjectProperty()
127 isolate, receiver, key, &success, LookupIterator::OWN); in DeleteObjectProperty()
158 LookupIterator::Configuration c = LookupIterator::OWN_SKIP_INTERCEPTOR; in RUNTIME_FUNCTION()
159 LookupIterator it = in RUNTIME_FUNCTION()
160 key_is_array_index ? LookupIterator(isolate, js_obj, index, js_obj, c) in RUNTIME_FUNCTION()
161 : LookupIterator(js_obj, key, js_obj, c); in RUNTIME_FUNCTION()
176 LookupIterator::Configuration c = LookupIterator::OWN; in RUNTIME_FUNCTION()
177 LookupIterator it = key_is_array_index in RUNTIME_FUNCTION()
[all …]
Druntime-debug.cc97 static Handle<Object> DebugGetProperty(LookupIterator* it, in DebugGetProperty()
101 case LookupIterator::NOT_FOUND: in DebugGetProperty()
102 case LookupIterator::TRANSITION: in DebugGetProperty()
104 case LookupIterator::ACCESS_CHECK: in DebugGetProperty()
107 case LookupIterator::INTEGER_INDEXED_EXOTIC: in DebugGetProperty()
108 case LookupIterator::INTERCEPTOR: in DebugGetProperty()
109 case LookupIterator::JSPROXY: in DebugGetProperty()
111 case LookupIterator::ACCESSOR: { in DebugGetProperty()
127 case LookupIterator::DATA: in DebugGetProperty()
138 LookupIterator it(object, name); in DebugGetProperty()
[all …]
Druntime-scopes.cc60 LookupIterator it(global, name, global, LookupIterator::OWN_SKIP_INTERCEPTOR); in DeclareGlobals()
81 (it.state() == LookupIterator::ACCESSOR && in DeclareGlobals()
99 if (it.state() == LookupIterator::ACCESSOR) it.Delete(); in DeclareGlobals()
184 LookupIterator it(global, name, global, LookupIterator::OWN_SKIP_INTERCEPTOR); in RUNTIME_FUNCTION()
197 it.state() == LookupIterator::ACCESSOR) { in RUNTIME_FUNCTION()
621 LookupIterator it(global_object, name, global_object, in FindNameClash()
622 LookupIterator::OWN_SKIP_INTERCEPTOR); in FindNameClash()
Druntime-classes.cc207 LookupIterator it(receiver, name, Handle<JSReceiver>::cast(proto)); in LoadFromSuper()
230 LookupIterator it(isolate, receiver, index, Handle<JSReceiver>::cast(proto)); in LoadElementFromSuper()
289 LookupIterator it(receiver, name, Handle<JSReceiver>::cast(proto)); in StoreToSuper()
312 LookupIterator it(isolate, receiver, index, Handle<JSReceiver>::cast(proto)); in StoreElementToSuper()
Druntime-internal.cc140 LookupIterator it(top_frame, wasm_offset_key, top_frame, in RUNTIME_FUNCTION()
141 LookupIterator::PROTOTYPE_CHAIN_SKIP_INTERCEPTOR); in RUNTIME_FUNCTION()
/external/v8/src/ic/
Dhandler-compiler.cc282 LookupIterator* it) { in CompileLoadInterceptor()
288 case LookupIterator::TRANSITION: in CompileLoadInterceptor()
290 case LookupIterator::ACCESS_CHECK: in CompileLoadInterceptor()
291 case LookupIterator::INTERCEPTOR: in CompileLoadInterceptor()
292 case LookupIterator::JSPROXY: in CompileLoadInterceptor()
293 case LookupIterator::NOT_FOUND: in CompileLoadInterceptor()
294 case LookupIterator::INTEGER_INDEXED_EXOTIC: in CompileLoadInterceptor()
296 case LookupIterator::DATA: in CompileLoadInterceptor()
300 case LookupIterator::ACCESSOR: { in CompileLoadInterceptor()
383 LookupIterator* it, Register interceptor_reg) { in GenerateLoadPostInterceptor()
[all …]
Dic.cc240 static void LookupForRead(LookupIterator* it) { in LookupForRead()
243 case LookupIterator::NOT_FOUND: in LookupForRead()
244 case LookupIterator::TRANSITION: in LookupForRead()
246 case LookupIterator::JSPROXY: in LookupForRead()
248 case LookupIterator::INTERCEPTOR: { in LookupForRead()
257 case LookupIterator::ACCESS_CHECK: in LookupForRead()
264 case LookupIterator::ACCESSOR: in LookupForRead()
265 case LookupIterator::INTEGER_INDEXED_EXOTIC: in LookupForRead()
266 case LookupIterator::DATA: in LookupForRead()
621 LookupIterator it(object, name); in Load()
[all …]
Dic.h139 Handle<Code> ComputeHandler(LookupIterator* lookup,
141 virtual Handle<Code> GetMapIndependentHandler(LookupIterator* lookup) { in GetMapIndependentHandler()
145 virtual Handle<Code> CompileHandler(LookupIterator* lookup, in CompileHandler()
304 void UpdateCaches(LookupIterator* lookup);
306 Handle<Code> GetMapIndependentHandler(LookupIterator* lookup) override;
308 Handle<Code> CompileHandler(LookupIterator* lookup, Handle<Object> unused,
391 bool LookupForWrite(LookupIterator* it, Handle<Object> value,
404 void UpdateCaches(LookupIterator* lookup, Handle<Object> value,
406 Handle<Code> GetMapIndependentHandler(LookupIterator* lookup) override;
407 Handle<Code> CompileHandler(LookupIterator* lookup, Handle<Object> value,
Dhandler-compiler.h137 Handle<Code> CompileLoadInterceptor(LookupIterator* it);
193 void GenerateLoadInterceptorWithFollowup(LookupIterator* it,
195 void GenerateLoadPostInterceptor(LookupIterator* it, Register reg);
223 Handle<Code> CompileStoreField(LookupIterator* it);
/external/v8/src/compiler/
Djs-global-object-specialization.cc75 LookupIterator it(global_object, name, LookupIterator::OWN); in ReduceJSLoadGlobal()
76 if (it.state() != LookupIterator::DATA) return NoChange(); in ReduceJSLoadGlobal()
156 LookupIterator it(global_object, name, LookupIterator::OWN); in ReduceJSStoreGlobal()
157 if (it.state() != LookupIterator::DATA) return NoChange(); in ReduceJSStoreGlobal()

12