Home
last modified time | relevance | path

Searched refs:PrototypeIterator (Results 1 – 17 of 17) sorted by relevance

/external/v8/src/
Dprototype.h25 class PrototypeIterator {
31 PrototypeIterator(Isolate* isolate, Handle<Object> receiver,
42 PrototypeIterator(Isolate* isolate, Object* receiver,
51 explicit PrototypeIterator(Map* receiver_map) in PrototypeIterator() function
55 explicit PrototypeIterator(Handle<Map> receiver_map) in PrototypeIterator() function
60 ~PrototypeIterator() {} in ~PrototypeIterator()
66 static Handle<Object> GetCurrent(const PrototypeIterator& iterator) { in GetCurrent()
127 DISALLOW_COPY_AND_ASSIGN(PrototypeIterator);
Dlookup.cc62 PrototypeIterator iter(isolate(), receiver_); in GetStoreTarget()
64 return Handle<JSGlobalObject>::cast(PrototypeIterator::GetCurrent(iter)); in GetStoreTarget()
212 PrototypeIterator iter(isolate(), current, in HolderIsReceiverOrHiddenPrototype()
213 PrototypeIterator::START_AT_RECEIVER); in HolderIsReceiverOrHiddenPrototype()
218 } while (!iter.IsAtEnd(PrototypeIterator::END_AT_NON_HIDDEN)); in HolderIsReceiverOrHiddenPrototype()
Dobjects.cc759 for (PrototypeIterator iter(isolate, object, in GetElementWithReceiver()
761 ? PrototypeIterator::START_AT_RECEIVER in GetElementWithReceiver()
762 : PrototypeIterator::START_AT_PROTOTYPE); in GetElementWithReceiver()
764 if (PrototypeIterator::GetCurrent(iter)->IsJSProxy()) { in GetElementWithReceiver()
766 Handle<JSProxy>::cast(PrototypeIterator::GetCurrent(iter)), receiver, in GetElementWithReceiver()
774 Handle<JSObject>::cast(PrototypeIterator::GetCurrent(iter)); in GetElementWithReceiver()
3016 for (PrototypeIterator iter(isolate, object); !iter.IsAtEnd(); in SetElementWithCallbackSetterInPrototypes()
3018 if (PrototypeIterator::GetCurrent(iter)->IsJSProxy()) { in SetElementWithCallbackSetterInPrototypes()
3020 Handle<JSProxy>::cast(PrototypeIterator::GetCurrent(iter)), object, in SetElementWithCallbackSetterInPrototypes()
3025 Handle<JSObject>::cast(PrototypeIterator::GetCurrent(iter)); in SetElementWithCallbackSetterInPrototypes()
[all …]
Dbuiltins.cc193 PrototypeIterator iter(heap->isolate(), array_proto); in ArrayPrototypeHasNoElements()
274 PrototypeIterator iter(heap->isolate(), receiver); in IsJSArrayFastElementMovingAllowed()
943 PrototypeIterator iter(isolate, arg); in BUILTIN()
1037 for (PrototypeIterator iter(heap->isolate(), object, in FindHidden()
1038 PrototypeIterator::START_AT_RECEIVER); in FindHidden()
1039 !iter.IsAtEnd(PrototypeIterator::END_AT_NON_HIDDEN); iter.Advance()) { in FindHidden()
Dstring-stream.cc512 for (PrototypeIterator iter(isolate, receiver, in PrintPrototype()
513 PrototypeIterator::START_AT_RECEIVER); in PrintPrototype()
Druntime.cc1855 PrototypeIterator iter(isolate, obj, PrototypeIterator::START_AT_RECEIVER); in RUNTIME_FUNCTION()
1857 if (PrototypeIterator::GetCurrent(iter)->IsAccessCheckNeeded() && in RUNTIME_FUNCTION()
1859 Handle<JSObject>::cast(PrototypeIterator::GetCurrent(iter)), in RUNTIME_FUNCTION()
1862 Handle<JSObject>::cast(PrototypeIterator::GetCurrent(iter)), in RUNTIME_FUNCTION()
1868 if (PrototypeIterator::GetCurrent(iter)->IsJSProxy()) { in RUNTIME_FUNCTION()
1869 return *PrototypeIterator::GetCurrent(iter); in RUNTIME_FUNCTION()
1871 } while (!iter.IsAtEnd(PrototypeIterator::END_AT_NON_HIDDEN)); in RUNTIME_FUNCTION()
1872 return *PrototypeIterator::GetCurrent(iter); in RUNTIME_FUNCTION()
1878 PrototypeIterator iter(isolate, receiver); in GetPrototypeSkipHiddenPrototypes()
1879 while (!iter.IsAtEnd(PrototypeIterator::END_AT_NON_HIDDEN)) { in GetPrototypeSkipHiddenPrototypes()
[all …]
Disolate.cc996 for (PrototypeIterator iter(this, *obj, PrototypeIterator::START_AT_RECEIVER); in IsErrorObject()
2196 PrototypeIterator iter(this, initial_array_proto); in IsFastArrayConstructorPrototypeChainIntact()
Daccessors.cc61 for (PrototypeIterator iter(isolate, obj, in FindInstanceOf()
62 PrototypeIterator::START_AT_RECEIVER); in FindInstanceOf()
Dobjects-printer.cc386 PrototypeIterator iter(GetIsolate(), this); in JSObjectPrint()
Dapi.cc3274 i::PrototypeIterator iter(isolate, self); in GetPrototype()
3275 return Utils::ToLocal(i::PrototypeIterator::GetCurrent(iter)); in GetPrototype()
3304 i::PrototypeIterator iter(isolate, *Utils::OpenHandle(this), in FindInstanceInPrototypeChain()
3305 i::PrototypeIterator::START_AT_RECEIVER); in FindInstanceInPrototypeChain()
3673 i::PrototypeIterator iter(isolate, self_obj); in GetRealNamedPropertyInPrototypeChain()
3675 i::Handle<i::Object> proto = i::PrototypeIterator::GetCurrent(iter); in GetRealNamedPropertyInPrototypeChain()
Dhydrogen.cc6905 PrototypeIterator iter(map); in BuildMonomorphicElementAccess()
6908 holder = JSObject::cast(*PrototypeIterator::GetCurrent(iter)); in BuildMonomorphicElementAccess()
7408 PrototypeIterator iter(isolate(), prototype, in BuildCheckPrototypeMaps()
7409 PrototypeIterator::START_AT_RECEIVER); in BuildCheckPrototypeMaps()
7411 !PrototypeIterator::GetCurrent(iter).is_identical_to(holder)) { in BuildCheckPrototypeMaps()
7413 Handle<JSObject>::cast(PrototypeIterator::GetCurrent(iter))); in BuildCheckPrototypeMaps()
7420 Handle<JSObject>::cast(PrototypeIterator::GetCurrent(iter))); in BuildCheckPrototypeMaps()
Dheap-snapshot-generator.cc1118 PrototypeIterator iter(heap_->isolate(), js_obj); in ExtractJSObjectReferences()
Ddeoptimizer.cc477 PrototypeIterator iter(object->GetIsolate(), object); in DeoptimizeGlobalObject()
Dobjects-inl.h6698 const PrototypeIterator iter(this->GetIsolate(), in IsDetachedFrom()
Dobjects.h1224 friend class PrototypeIterator; variable
/external/v8/src/ic/
Dhandler-compiler.cc322 PrototypeIterator iter(isolate(), holder()); in CompileStoreTransition()
324 last = Handle<JSObject>::cast(PrototypeIterator::GetCurrent(iter)); in CompileStoreTransition()
Dic.cc1263 PrototypeIterator iter(it->isolate(), receiver); in LookupForWrite()
1266 PrototypeIterator::GetCurrent(iter)); in LookupForWrite()
2634 PrototypeIterator iter(isolate, receiver, in RUNTIME_FUNCTION()
2635 PrototypeIterator::START_AT_RECEIVER); in RUNTIME_FUNCTION()
2637 while (!iter.IsAtEnd(PrototypeIterator::END_AT_NON_HIDDEN)) { in RUNTIME_FUNCTION()
2638 Handle<Object> current = PrototypeIterator::GetCurrent(iter); in RUNTIME_FUNCTION()