Flutter Engine
The Flutter Engine
Static Public Attributes | List of all members
dart::ObjectAlignment< word_size, word_size_log2 > Struct Template Reference

#include <pointer_tagging.h>

Static Public Attributes

static constexpr intptr_t kNewObjectAlignmentOffset = word_size
 
static constexpr intptr_t kOldObjectAlignmentOffset = 0
 
static constexpr intptr_t kNewObjectBitPosition = word_size_log2
 
static constexpr intptr_t kObjectAlignment = 2 * word_size
 
static constexpr intptr_t kObjectAlignmentLog2 = word_size_log2 + 1
 
static constexpr intptr_t kObjectAlignmentMask = kObjectAlignment - 1
 
static constexpr intptr_t kBoolValueBitPosition = kObjectAlignmentLog2
 
static constexpr intptr_t kBoolValueMask = 1 << kBoolValueBitPosition
 
static constexpr intptr_t kBoolVsNullBitPosition = kObjectAlignmentLog2 + 1
 
static constexpr intptr_t kBoolVsNullMask = 1 << kBoolVsNullBitPosition
 
static constexpr intptr_t kTrueOffsetFromNull = kObjectAlignment * 2
 
static constexpr intptr_t kFalseOffsetFromNull = kObjectAlignment * 3
 

Detailed Description

template<intptr_t word_size, intptr_t word_size_log2>
struct dart::ObjectAlignment< word_size, word_size_log2 >

Definition at line 25 of file pointer_tagging.h.

Member Data Documentation

◆ kBoolValueBitPosition

template<intptr_t word_size, intptr_t word_size_log2>
constexpr intptr_t dart::ObjectAlignment< word_size, word_size_log2 >::kBoolValueBitPosition = kObjectAlignmentLog2
staticconstexpr

Definition at line 37 of file pointer_tagging.h.

◆ kBoolValueMask

template<intptr_t word_size, intptr_t word_size_log2>
constexpr intptr_t dart::ObjectAlignment< word_size, word_size_log2 >::kBoolValueMask = 1 << kBoolValueBitPosition
staticconstexpr

Definition at line 38 of file pointer_tagging.h.

◆ kBoolVsNullBitPosition

template<intptr_t word_size, intptr_t word_size_log2>
constexpr intptr_t dart::ObjectAlignment< word_size, word_size_log2 >::kBoolVsNullBitPosition = kObjectAlignmentLog2 + 1
staticconstexpr

Definition at line 41 of file pointer_tagging.h.

◆ kBoolVsNullMask

template<intptr_t word_size, intptr_t word_size_log2>
constexpr intptr_t dart::ObjectAlignment< word_size, word_size_log2 >::kBoolVsNullMask = 1 << kBoolVsNullBitPosition
staticconstexpr

Definition at line 42 of file pointer_tagging.h.

◆ kFalseOffsetFromNull

template<intptr_t word_size, intptr_t word_size_log2>
constexpr intptr_t dart::ObjectAlignment< word_size, word_size_log2 >::kFalseOffsetFromNull = kObjectAlignment * 3
staticconstexpr

Definition at line 45 of file pointer_tagging.h.

◆ kNewObjectAlignmentOffset

template<intptr_t word_size, intptr_t word_size_log2>
constexpr intptr_t dart::ObjectAlignment< word_size, word_size_log2 >::kNewObjectAlignmentOffset = word_size
staticconstexpr

Definition at line 27 of file pointer_tagging.h.

◆ kNewObjectBitPosition

template<intptr_t word_size, intptr_t word_size_log2>
constexpr intptr_t dart::ObjectAlignment< word_size, word_size_log2 >::kNewObjectBitPosition = word_size_log2
staticconstexpr

Definition at line 29 of file pointer_tagging.h.

◆ kObjectAlignment

template<intptr_t word_size, intptr_t word_size_log2>
constexpr intptr_t dart::ObjectAlignment< word_size, word_size_log2 >::kObjectAlignment = 2 * word_size
staticconstexpr

Definition at line 32 of file pointer_tagging.h.

◆ kObjectAlignmentLog2

template<intptr_t word_size, intptr_t word_size_log2>
constexpr intptr_t dart::ObjectAlignment< word_size, word_size_log2 >::kObjectAlignmentLog2 = word_size_log2 + 1
staticconstexpr

Definition at line 33 of file pointer_tagging.h.

◆ kObjectAlignmentMask

template<intptr_t word_size, intptr_t word_size_log2>
constexpr intptr_t dart::ObjectAlignment< word_size, word_size_log2 >::kObjectAlignmentMask = kObjectAlignment - 1
staticconstexpr

Definition at line 34 of file pointer_tagging.h.

◆ kOldObjectAlignmentOffset

template<intptr_t word_size, intptr_t word_size_log2>
constexpr intptr_t dart::ObjectAlignment< word_size, word_size_log2 >::kOldObjectAlignmentOffset = 0
staticconstexpr

Definition at line 28 of file pointer_tagging.h.

◆ kTrueOffsetFromNull

template<intptr_t word_size, intptr_t word_size_log2>
constexpr intptr_t dart::ObjectAlignment< word_size, word_size_log2 >::kTrueOffsetFromNull = kObjectAlignment * 2
staticconstexpr

Definition at line 44 of file pointer_tagging.h.


The documentation for this struct was generated from the following file: