Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
dart::compiler::target::Instructions Class Reference

#include <runtime_api.h>

Inheritance diagram for dart::compiler::target::Instructions:
dart::AllStatic

Public Member Functions

 FINAL_CLASS ()
 

Static Public Member Functions

static word UnalignedHeaderSize ()
 
static word HeaderSize ()
 
static word InstanceSize ()
 
static word InstanceSize (word payload_size)
 

Static Public Attributes

static const word kMonomorphicEntryOffsetJIT
 
static const word kPolymorphicEntryOffsetJIT
 
static const word kMonomorphicEntryOffsetAOT
 
static const word kPolymorphicEntryOffsetAOT
 
static const word kBarePayloadAlignment
 
static const word kNonBarePayloadAlignment
 

Detailed Description

Definition at line 1377 of file runtime_api.h.

Member Function Documentation

◆ FINAL_CLASS()

dart::compiler::target::Instructions::FINAL_CLASS ( )

◆ HeaderSize()

word dart::compiler::target::Instructions::HeaderSize ( )
static

Definition at line 873 of file runtime_api.cc.

873 {
875 ? 0
877}
static constexpr T RoundUp(T x, uintptr_t alignment, uintptr_t offset=0)
Definition: utils.h:120
static const word kNonBarePayloadAlignment
Definition: runtime_api.h:1384
static DART_FORCE_INLINE bool BareInstructionsPayloads()
Definition: runtime_api.cc:869

◆ InstanceSize() [1/2]

word dart::compiler::target::Instructions::InstanceSize ( )
static

Definition at line 879 of file runtime_api.cc.

879 {
880 return 0;
881}

◆ InstanceSize() [2/2]

word dart::compiler::target::Instructions::InstanceSize ( word  payload_size)
static

Definition at line 883 of file runtime_api.cc.

883 {
884 const intptr_t alignment = BareInstructionsPayloads()
887 return Utils::RoundUp(Instructions::HeaderSize() + payload_size, alignment);
888}
static constexpr intptr_t kObjectAlignment

◆ UnalignedHeaderSize()

static word dart::compiler::target::Instructions::UnalignedHeaderSize ( )
static

Member Data Documentation

◆ kBarePayloadAlignment

const word dart::compiler::target::Instructions::kBarePayloadAlignment
static

Definition at line 1383 of file runtime_api.h.

◆ kMonomorphicEntryOffsetAOT

const word dart::compiler::target::Instructions::kMonomorphicEntryOffsetAOT
static

Definition at line 1381 of file runtime_api.h.

◆ kMonomorphicEntryOffsetJIT

const word dart::compiler::target::Instructions::kMonomorphicEntryOffsetJIT
static

Definition at line 1379 of file runtime_api.h.

◆ kNonBarePayloadAlignment

const word dart::compiler::target::Instructions::kNonBarePayloadAlignment
static

Definition at line 1384 of file runtime_api.h.

◆ kPolymorphicEntryOffsetAOT

const word dart::compiler::target::Instructions::kPolymorphicEntryOffsetAOT
static

Definition at line 1382 of file runtime_api.h.

◆ kPolymorphicEntryOffsetJIT

const word dart::compiler::target::Instructions::kPolymorphicEntryOffsetJIT
static

Definition at line 1380 of file runtime_api.h.


The documentation for this class was generated from the following files: