Home
last modified time | relevance | path

Searched refs:js_object (Results 1 – 10 of 10) sorted by relevance

/external/v8/src/
Dstring-stream.cc295 void StringStream::PrintUsingMap(JSObject* js_object) { in PrintUsingMap() argument
296 Map* map = js_object->map(); in PrintUsingMap()
297 if (!js_object->GetHeap()->Contains(map) || in PrintUsingMap()
324 if (js_object->IsUnboxedDoubleField(index)) { in PrintUsingMap()
325 double value = js_object->RawFastDoublePropertyAt(index); in PrintUsingMap()
328 Object* value = js_object->RawFastPropertyAt(index); in PrintUsingMap()
Dglobal-handles.cc821 void PrintConstructor(JSObject* js_object);
822 void PrintInternalFields(JSObject* js_object);
846 JSObject* js_object = JSObject::cast(object); in PrintObject() local
849 PrintConstructor(js_object); in PrintObject()
851 PrintInternalFields(js_object); in PrintObject()
858 void ObjectGroupsTracer::PrintConstructor(JSObject* js_object) { in PrintConstructor() argument
859 Object* maybe_constructor = js_object->map()->GetConstructor(); in PrintConstructor()
867 if (js_object->IsOddball()) { in PrintConstructor()
877 void ObjectGroupsTracer::PrintInternalFields(JSObject* js_object) { in PrintInternalFields() argument
878 for (int i = 0; i < js_object->GetInternalFieldCount(); ++i) { in PrintInternalFields()
[all …]
Dvalue-serializer.cc438 Handle<JSObject> js_object = Handle<JSObject>::cast(receiver); in WriteJSReceiver() local
439 Map* map = js_object->map(); in WriteJSReceiver()
443 return WriteWasmModule(js_object); in WriteJSReceiver()
445 return WriteHostObject(js_object); in WriteJSReceiver()
447 return WriteJSObject(js_object); in WriteJSReceiver()
1656 Handle<JSObject> js_object = in ReadHostObject() local
1658 AddObjectWithID(id, js_object); in ReadHostObject()
1659 return js_object; in ReadHostObject()
1903 Handle<JSObject> js_object = isolate_->factory()->NewJSObject( in ReadObjectUsingEntireBufferForLegacyFormat() local
1907 isolate_, js_object, &stack[begin_properties], num_properties) in ReadObjectUsingEntireBufferForLegacyFormat()
[all …]
Dlookup.cc868 JSObject* js_object = JSObject::cast(holder); in LookupInRegularHolder() local
869 ElementsAccessor* accessor = js_object->GetElementsAccessor(); in LookupInRegularHolder()
870 FixedArrayBase* backing_store = js_object->elements(); in LookupInRegularHolder()
872 accessor->GetEntryForIndex(isolate_, js_object, backing_store, index_); in LookupInRegularHolder()
876 property_details_ = accessor->GetDetails(js_object, number_); in LookupInRegularHolder()
Dstring-stream.h145 void PrintUsingMap(JSObject* js_object);
Dapi.cc4311 i::Handle<i::JSObject> js_object, i::Handle<i::Object> key, in DefineObjectProperty() argument
4313 i::Isolate* isolate = js_object->GetIsolate(); in DefineObjectProperty()
4316 isolate, js_object, key, &success, i::LookupIterator::OWN); in DefineObjectProperty()
4374 auto js_object = i::Handle<i::JSObject>::cast(self); in SetPrivate() local
4375 i::LookupIterator it(js_object, key_obj, js_object); in SetPrivate()
/external/v8/src/runtime/
Druntime-object.cc99 Handle<JSObject> js_object = Handle<JSObject>::cast(receiver_obj); in KeyedGetObjectProperty() local
100 ElementsKind elements_kind = js_object->GetElementsKind(); in KeyedGetObjectProperty()
102 if (Smi::cast(*key_obj)->value() >= js_object->elements()->length()) { in KeyedGetObjectProperty()
106 JSObject::TransitionElementsKind(js_object, elements_kind); in KeyedGetObjectProperty()
588 Handle<JSObject> js_object = Handle<JSObject>::cast(object); in RUNTIME_FUNCTION() local
590 if (!js_object->map()->is_deprecated()) return Smi::kZero; in RUNTIME_FUNCTION()
595 if (!JSObject::TryMigrateInstance(js_object)) return Smi::kZero; in RUNTIME_FUNCTION()
/external/v8/src/heap/
Dheap.cc2961 JSObject* js_object = JSObject::cast(object); in IsUnmodifiedHeapObject() local
2962 if (!js_object->WasConstructedFromApiFunction()) return false; in IsUnmodifiedHeapObject()
2964 JSFunction::cast(js_object->map()->GetConstructor()); in IsUnmodifiedHeapObject()
5644 void Heap::TracePossibleWrapper(JSObject* js_object) { in TracePossibleWrapper() argument
5645 DCHECK(js_object->WasConstructedFromApiFunction()); in TracePossibleWrapper()
5646 if (js_object->GetInternalFieldCount() >= 2 && in TracePossibleWrapper()
5647 js_object->GetInternalField(0) && in TracePossibleWrapper()
5648 js_object->GetInternalField(0) != undefined_value() && in TracePossibleWrapper()
5649 js_object->GetInternalField(1) != undefined_value()) { in TracePossibleWrapper()
5650 DCHECK(reinterpret_cast<intptr_t>(js_object->GetInternalField(0)) % 2 == 0); in TracePossibleWrapper()
[all …]
Dheap.h1263 void TracePossibleWrapper(JSObject* js_object);
/external/v8/src/crankshaft/
Dhydrogen-instructions.cc2345 Handle<JSObject> js_object = Handle<JSObject>::cast(object); in Initialize() local
2346 if (js_object->map()->is_deprecated()) { in Initialize()
2347 JSObject::TryMigrateInstance(js_object); in Initialize()