Flutter Engine
The Flutter Engine
Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
pointer_tagging.h File Reference
#include "platform/assert.h"
#include "platform/globals.h"

Go to the source code of this file.

Classes

struct  dart::ObjectAlignment< word_size, word_size_log2 >
 

Namespaces

namespace  dart
 

Typedefs

using dart::HostObjectAlignment = ObjectAlignment< kWordSize, kWordSizeLog2 >
 

Enumerations

enum  {
  dart::kSmiTag = 0 , dart::kHeapObjectTag = 1 , dart::kSmiTagSize = 1 , dart::kSmiTagMask = 1 ,
  dart::kSmiTagShift = 1
}
 

Functions

 dart::COMPILE_ASSERT (kObjectStartAlignment >=kObjectAlignment)
 
 dart::COMPILE_ASSERT (kObjectStartAlignment >=2 *kBoolValueMask)
 

Variables

static constexpr intptr_t dart::kNewObjectAlignmentOffset
 
static constexpr intptr_t dart::kOldObjectAlignmentOffset
 
static constexpr intptr_t dart::kNewObjectBitPosition
 
static constexpr intptr_t dart::kObjectAlignment
 
static constexpr intptr_t dart::kObjectAlignmentLog2
 
static constexpr intptr_t dart::kObjectAlignmentMask
 
static constexpr intptr_t dart::kBoolValueBitPosition
 
static constexpr intptr_t dart::kBoolValueMask = HostObjectAlignment::kBoolValueMask
 
static constexpr intptr_t dart::kBoolVsNullBitPosition
 
static constexpr intptr_t dart::kBoolVsNullMask
 
static constexpr intptr_t dart::kTrueOffsetFromNull
 
static constexpr intptr_t dart::kFalseOffsetFromNull
 
static constexpr intptr_t dart::kObjectStartAlignment = 64
 
static constexpr uintptr_t dart::kHeapBaseMask = 0