Lines Matching refs:js_object
2961 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()
5652 reinterpret_cast<void*>(js_object->GetInternalField(0)), in TracePossibleWrapper()
5653 reinterpret_cast<void*>(js_object->GetInternalField(1)))); in TracePossibleWrapper()