#include <tagged_pointer.h>
Definition at line 101 of file tagged_pointer.h.
◆ ObjectPtr() [1/6]
constexpr dart::ObjectPtr::ObjectPtr |
( |
const ObjectPtr & |
other | ) |
|
|
constexprdefault |
◆ ObjectPtr() [2/6]
dart::ObjectPtr::ObjectPtr |
( |
| ) |
|
|
inline |
◆ ObjectPtr() [3/6]
constexpr dart::ObjectPtr::ObjectPtr |
( |
uword |
tagged | ) |
|
|
inlineexplicitconstexpr |
◆ ObjectPtr() [4/6]
constexpr dart::ObjectPtr::ObjectPtr |
( |
intptr_t |
tagged | ) |
|
|
inlineexplicitconstexpr |
◆ ObjectPtr() [5/6]
constexpr dart::ObjectPtr::ObjectPtr |
( |
std::nullptr_t |
| ) |
|
|
inlineconstexpr |
◆ ObjectPtr() [6/6]
◆ Decompress()
◆ DecompressSmi()
ObjectPtr dart::ObjectPtr::DecompressSmi |
( |
| ) |
const |
|
inline |
◆ GetClassId()
intptr_t dart::ObjectPtr::GetClassId |
( |
| ) |
const |
|
inline |
Definition at line 885 of file raw_object.h.
885 {
887}
UntaggedObject * untag() const
intptr_t GetClassId() const
◆ GetClassIdMayBeSmi()
intptr_t dart::ObjectPtr::GetClassIdMayBeSmi |
( |
| ) |
const |
|
inline |
Definition at line 151 of file tagged_pointer.h.
151 {
152 return IsHeapObject() ?
GetClassId() : static_cast<intptr_t>(kSmiCid);
153 }
intptr_t GetClassId() const
◆ heap_base()
uword dart::ObjectPtr::heap_base |
( |
| ) |
const |
|
inline |
Definition at line 220 of file tagged_pointer.h.
220 {
221
222
223#if !defined(DART_HOST_OS_WINDOWS)
225 ASSERT(!IsInstructions());
226 ASSERT(!IsInstructionsSection());
227#endif
229 }
static constexpr uintptr_t kHeapBaseMask
◆ IsDartInstance()
bool dart::ObjectPtr::IsDartInstance |
( |
| ) |
const |
|
inline |
Definition at line 137 of file tagged_pointer.h.
137 {
139 }
bool IsInternalOnlyClassId(intptr_t index)
◆ IsForwardingCorpse()
bool dart::ObjectPtr::IsForwardingCorpse |
( |
| ) |
const |
|
inline |
◆ IsFreeListElement()
bool dart::ObjectPtr::IsFreeListElement |
( |
| ) |
const |
|
inline |
◆ IsPseudoObject()
bool dart::ObjectPtr::IsPseudoObject |
( |
| ) |
const |
|
inline |
Definition at line 146 of file tagged_pointer.h.
146 {
148 }
bool IsFreeListElement() const
bool IsForwardingCorpse() const
◆ IsRawNull()
bool dart::ObjectPtr::IsRawNull |
( |
| ) |
const |
|
inline |
◆ IsStringInstance()
bool dart::ObjectPtr::IsStringInstance |
( |
| ) |
const |
|
inline |
◆ operator bool()
dart::ObjectPtr::operator bool |
( |
| ) |
const |
|
delete |
◆ operator int()
dart::ObjectPtr::operator int |
( |
| ) |
const |
|
inlineexplicit |
◆ operator long()
dart::ObjectPtr::operator long |
( |
| ) |
const |
|
inlineexplicit |
◆ operator long long()
dart::ObjectPtr::operator long long |
( |
| ) |
const |
|
inlineexplicit |
◆ operator unsigned int()
dart::ObjectPtr::operator unsigned int |
( |
| ) |
const |
|
inlineexplicit |
◆ operator unsigned long()
dart::ObjectPtr::operator unsigned long |
( |
| ) |
const |
|
inlineexplicit |
◆ operator unsigned long long()
dart::ObjectPtr::operator unsigned long long |
( |
| ) |
const |
|
inlineexplicit |
◆ operator!=() [1/2]
bool dart::ObjectPtr::operator!= |
( |
const std::nullptr_t & |
other | ) |
|
|
inline |
◆ operator!=() [2/2]
constexpr bool dart::ObjectPtr::operator!= |
( |
const std::nullptr_t & |
other | ) |
const |
|
inlineconstexpr |
◆ operator=()
◆ operator==() [1/2]
bool dart::ObjectPtr::operator== |
( |
const std::nullptr_t & |
other | ) |
|
|
inline |
◆ operator==() [2/2]
constexpr bool dart::ObjectPtr::operator== |
( |
const std::nullptr_t & |
other | ) |
const |
|
inlineconstexpr |
◆ untag()
◆ untagged_pointer()
uword dart::ObjectPtr::untagged_pointer |
( |
| ) |
const |
|
inlineprotected |
◆ Validate()
void dart::ObjectPtr::Validate |
( |
IsolateGroup * |
isolate_group | ) |
const |
Definition at line 30 of file raw_object.cc.
30 {
31
32 if (!IsHeapObject()) {
33 return;
34 }
35
37 FATAL(
"RAW_NULL encountered");
38 }
40}
void Validate(IsolateGroup *isolate_group) const
◆ tagged_pointer_
uword dart::ObjectPtr::tagged_pointer_ |
|
protected |
The documentation for this class was generated from the following files: