Home
last modified time | relevance | path

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

12

/external/v8/src/
Dlookup.cc17 LookupIterator LookupIterator::PropertyOrElement(Isolate* isolate, in PropertyOrElement()
25 return LookupIterator(isolate, receiver, index, configuration); in PropertyOrElement()
33 return LookupIterator(receiver, isolate->factory()->empty_string()); in PropertyOrElement()
37 LookupIterator it(isolate, receiver, index, configuration); in PropertyOrElement()
44 return LookupIterator(receiver, name, configuration); in PropertyOrElement()
48 void LookupIterator::Next() { in Next()
83 void LookupIterator::RestartInternal(InterceptorState interceptor_state) { in RestartInternal()
95 Handle<JSReceiver> LookupIterator::GetRootForNonJSReceiver( in GetRootForNonJSReceiver()
117 Handle<Map> LookupIterator::GetReceiverMap() const { in GetReceiverMap()
123 Handle<JSObject> LookupIterator::GetStoreTarget() const { in GetStoreTarget()
[all …]
Dlookup.h15 class LookupIterator final BASE_EMBEDDED {
47 LookupIterator(Handle<Object> receiver, Handle<Name> name,
70 LookupIterator(Handle<Object> receiver, Handle<Name> name,
94 LookupIterator(Isolate* isolate, Handle<Object> receiver, uint32_t index,
114 LookupIterator(Isolate* isolate, Handle<Object> receiver, uint32_t index,
135 static LookupIterator PropertyOrElement(
140 LookupIterator it =
142 ? LookupIterator(isolate, receiver, index, configuration)
143 : LookupIterator(receiver, name, configuration);
148 static LookupIterator PropertyOrElement(
[all …]
Dmessages.cc209 LookupIterator::Configuration config) { in CheckMethodName()
210 LookupIterator iter = in CheckMethodName()
211 LookupIterator::PropertyOrElement(isolate, obj, name, config); in CheckMethodName()
212 if (iter.state() == LookupIterator::DATA) { in CheckMethodName()
214 } else if (iter.state() == LookupIterator::ACCESSOR) { in CheckMethodName()
237 LookupIterator::PROTOTYPE_CHAIN_SKIP_INTERCEPTOR)) in GetMethodName()
256 LookupIterator::OWN_SKIP_INTERCEPTOR)) in GetMethodName()
Dobjects.cc743 Maybe<bool> JSReceiver::HasProperty(LookupIterator* it) { in HasProperty()
746 case LookupIterator::NOT_FOUND: in HasProperty()
747 case LookupIterator::TRANSITION: in HasProperty()
749 case LookupIterator::JSPROXY: in HasProperty()
753 case LookupIterator::INTERCEPTOR: { in HasProperty()
760 case LookupIterator::ACCESS_CHECK: { in HasProperty()
767 case LookupIterator::INTEGER_INDEXED_EXOTIC: in HasProperty()
770 case LookupIterator::ACCESSOR: in HasProperty()
771 case LookupIterator::DATA: in HasProperty()
780 MaybeHandle<Object> Object::GetProperty(LookupIterator* it, in GetProperty()
[all …]
Dproperty-descriptor.cc21 LookupIterator it(obj, name); in GetPropertyIfPresent()
106 LookupIterator it(object, name, LookupIterator::OWN_SKIP_INTERCEPTOR); in CreateDataProperty()
Dapi-natives.cc76 LookupIterator it = LookupIterator::PropertyOrElement( in DefineDataProperty()
77 isolate, object, name, LookupIterator::OWN_SKIP_INTERCEPTOR); in DefineDataProperty()
512 LookupIterator it(handle(JSObject::cast(result->prototype())), in CreateApiFunction()
514 LookupIterator::OWN_SKIP_INTERCEPTOR); in CreateApiFunction()
Dobjects.h848 class LookupIterator; variable
1240 LookupIterator* it, LanguageMode language_mode = SLOPPY);
1249 MUST_USE_RESULT static Maybe<bool> SetProperty(LookupIterator* it,
1259 LookupIterator* it, Handle<Object> value, LanguageMode language_mode,
1263 LookupIterator* it, LanguageMode language_mode);
1271 LookupIterator* it, Handle<Object> value, ShouldThrow should_throw);
1278 MUST_USE_RESULT static Maybe<bool> SetDataProperty(LookupIterator* it,
1281 LookupIterator* it, Handle<Object> value, PropertyAttributes attributes,
1297 LookupIterator* it, LanguageMode language_mode);
1299 LookupIterator* it, Handle<Object> value, ShouldThrow should_throw);
[all …]
Dcontexts.cc149 static Maybe<bool> UnscopableLookup(LookupIterator* it) { in UnscopableLookup()
285 LookupIterator it(object, name); in Lookup()
Delements.h184 friend class LookupIterator;
Dbootstrapper.cc940 LookupIterator it(prototype, factory()->constructor_string(), in CreateNewGlobals()
941 LookupIterator::OWN_SKIP_INTERCEPTOR); in CreateNewGlobals()
3246 LookupIterator it(to, key, LookupIterator::OWN_SKIP_INTERCEPTOR); in TransferNamedProperties()
3247 CHECK_NE(LookupIterator::ACCESS_CHECK, it.state()); in TransferNamedProperties()
3271 LookupIterator it(to, key, LookupIterator::OWN_SKIP_INTERCEPTOR); in TransferNamedProperties()
3272 CHECK_NE(LookupIterator::ACCESS_CHECK, it.state()); in TransferNamedProperties()
3294 LookupIterator it(to, key, LookupIterator::OWN_SKIP_INTERCEPTOR); in TransferNamedProperties()
3295 CHECK_NE(LookupIterator::ACCESS_CHECK, it.state()); in TransferNamedProperties()
Dobjects-inl.h1170 LookupIterator it(object, name); in GetProperty()
1178 LookupIterator it(isolate, object, index); in GetElement()
1186 LookupIterator it(isolate, object, index); in SetElement()
7052 LookupIterator it = in GetPropertyOrElement()
7053 LookupIterator::PropertyOrElement(name->GetIsolate(), object, name); in GetPropertyOrElement()
7062 LookupIterator it = LookupIterator::PropertyOrElement( in GetPropertyOrElement()
7095 LookupIterator it = in HasProperty()
7096 LookupIterator::PropertyOrElement(object->GetIsolate(), object, name); in HasProperty()
7104 LookupIterator it = LookupIterator::PropertyOrElement( in HasOwnProperty()
7105 object->GetIsolate(), object, name, LookupIterator::HIDDEN); in HasOwnProperty()
[all …]
Djson-stringifier.h244 LookupIterator it(object, tojson_string_, in ApplyToJsonFunction()
245 LookupIterator::PROTOTYPE_CHAIN_SKIP_INTERCEPTOR); in ApplyToJsonFunction()
/external/v8/src/ic/
Dhandler-compiler.cc279 LookupIterator* it) { in CompileLoadInterceptor()
285 case LookupIterator::TRANSITION: in CompileLoadInterceptor()
287 case LookupIterator::ACCESS_CHECK: in CompileLoadInterceptor()
288 case LookupIterator::INTERCEPTOR: in CompileLoadInterceptor()
289 case LookupIterator::JSPROXY: in CompileLoadInterceptor()
290 case LookupIterator::NOT_FOUND: in CompileLoadInterceptor()
291 case LookupIterator::INTEGER_INDEXED_EXOTIC: in CompileLoadInterceptor()
293 case LookupIterator::DATA: in CompileLoadInterceptor()
297 case LookupIterator::ACCESSOR: { in CompileLoadInterceptor()
368 LookupIterator* it, Register interceptor_reg) { in GenerateLoadPostInterceptor()
[all …]
Dic.cc225 static void LookupForRead(LookupIterator* it) { in LookupForRead()
228 case LookupIterator::NOT_FOUND: in LookupForRead()
229 case LookupIterator::TRANSITION: in LookupForRead()
231 case LookupIterator::JSPROXY: in LookupForRead()
233 case LookupIterator::INTERCEPTOR: { in LookupForRead()
241 case LookupIterator::ACCESS_CHECK: in LookupForRead()
248 case LookupIterator::ACCESSOR: in LookupForRead()
249 case LookupIterator::INTEGER_INDEXED_EXOTIC: in LookupForRead()
250 case LookupIterator::DATA: in LookupForRead()
297 LookupIterator it(global, name, LookupIterator::OWN_SKIP_INTERCEPTOR); in TryRemoveInvalidPrototypeDependentStub()
[all …]
Dhandler-compiler.h137 Handle<Code> CompileLoadInterceptor(LookupIterator* it);
194 void GenerateLoadInterceptorWithFollowup(LookupIterator* it,
196 void GenerateLoadPostInterceptor(LookupIterator* it, Register reg);
225 Handle<Code> CompileStoreField(LookupIterator* it);
Dic.h150 Handle<Code> ComputeHandler(LookupIterator* lookup,
152 virtual Handle<Code> CompileHandler(LookupIterator* lookup, in CompileHandler()
358 void UpdateCaches(LookupIterator* lookup);
360 Handle<Code> CompileHandler(LookupIterator* lookup, Handle<Object> unused,
474 bool LookupForWrite(LookupIterator* it, Handle<Object> value,
493 void UpdateCaches(LookupIterator* lookup, Handle<Object> value,
495 Handle<Code> CompileHandler(LookupIterator* lookup, Handle<Object> value,
/external/v8/src/runtime/
Druntime-object.cc31 LookupIterator it = in GetObjectProperty()
32 LookupIterator::PropertyOrElement(isolate, object, key, &success); in GetObjectProperty()
126 LookupIterator it = LookupIterator::PropertyOrElement( in DeleteObjectProperty()
127 isolate, receiver, key, &success, LookupIterator::HIDDEN); in DeleteObjectProperty()
148 LookupIterator it = in SetObjectProperty()
149 LookupIterator::PropertyOrElement(isolate, object, key, &success); in SetObjectProperty()
213 LookupIterator it = LookupIterator::PropertyOrElement(isolate, obj, name, in GetOwnProperty()
214 LookupIterator::HIDDEN); in GetOwnProperty()
226 bool is_accessor_pair = it.state() == LookupIterator::ACCESSOR && in GetOwnProperty()
324 LookupIterator it(global_object, name, LookupIterator::HIDDEN); in RUNTIME_FUNCTION()
[all …]
Druntime-debug.cc65 static Handle<Object> DebugGetProperty(LookupIterator* it, in DebugGetProperty()
69 case LookupIterator::NOT_FOUND: in DebugGetProperty()
70 case LookupIterator::TRANSITION: in DebugGetProperty()
72 case LookupIterator::ACCESS_CHECK: in DebugGetProperty()
75 case LookupIterator::INTEGER_INDEXED_EXOTIC: in DebugGetProperty()
76 case LookupIterator::INTERCEPTOR: in DebugGetProperty()
77 case LookupIterator::JSPROXY: in DebugGetProperty()
79 case LookupIterator::ACCESSOR: { in DebugGetProperty()
95 case LookupIterator::DATA: in DebugGetProperty()
106 LookupIterator it(object, name); in DebugGetProperty()
[all …]
Druntime-scopes.cc47 LookupIterator it(global, name, LookupIterator::HIDDEN_SKIP_INTERCEPTOR); in DeclareGlobals()
179 LookupIterator it(global, name, LookupIterator::HIDDEN_SKIP_INTERCEPTOR); in RUNTIME_FUNCTION()
192 it.state() == LookupIterator::ACCESSOR) { in RUNTIME_FUNCTION()
391 LookupIterator it(holder, name, LookupIterator::HIDDEN_SKIP_INTERCEPTOR); in RUNTIME_FUNCTION()
399 it.state() == LookupIterator::ACCESSOR) { in RUNTIME_FUNCTION()
762 LookupIterator it(global_object, name, in FindNameClash()
763 LookupIterator::HIDDEN_SKIP_INTERCEPTOR); in FindNameClash()
Druntime-classes.cc265 LookupIterator it(receiver, name, Handle<JSReceiver>::cast(proto)); in LoadFromSuper()
291 LookupIterator it(isolate, receiver, index, Handle<JSReceiver>::cast(proto)); in LoadElementFromSuper()
365 LookupIterator it(receiver, name, Handle<JSReceiver>::cast(proto)); in StoreToSuper()
388 LookupIterator it(isolate, receiver, index, Handle<JSReceiver>::cast(proto)); in StoreElementToSuper()
/external/v8/src/compiler/
Djs-global-object-specialization.cc77 LookupIterator it(global_object, name, LookupIterator::OWN); in ReduceJSLoadGlobal()
78 if (it.state() != LookupIterator::DATA) return NoChange(); in ReduceJSLoadGlobal()
168 LookupIterator it(global_object, name, LookupIterator::OWN); in ReduceJSStoreGlobal()
169 if (it.state() != LookupIterator::DATA) return NoChange(); in ReduceJSStoreGlobal()
/external/v8/src/debug/
Ddebug-evaluate.cc371 LookupIterator lookup(object, name); in StoreToContext()
372 if (lookup.state() != LookupIterator::DATA) return; in StoreToContext()
/external/v8/src/ic/arm/
Dhandler-compiler-arm.cc646 LookupIterator* it, Register holder_reg) { in GenerateLoadInterceptorWithFollowup()
663 (it->state() == LookupIterator::ACCESSOR || must_perform_prototype_check); in GenerateLoadInterceptorWithFollowup()
/external/v8/src/ic/arm64/
Dhandler-compiler-arm64.cc705 LookupIterator* it, Register holder_reg) { in GenerateLoadInterceptorWithFollowup()
724 (it->state() == LookupIterator::ACCESSOR || must_perform_prototype_check); in GenerateLoadInterceptorWithFollowup()
/external/v8/src/ic/ppc/
Dhandler-compiler-ppc.cc643 LookupIterator* it, Register holder_reg) { in GenerateLoadInterceptorWithFollowup()
660 (it->state() == LookupIterator::ACCESSOR || must_perform_prototype_check); in GenerateLoadInterceptorWithFollowup()

12