Flutter Engine
The Flutter Engine
Classes | Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
dart::kernel::UnboxingInfoMetadata Class Reference

#include <kernel_translation_helper.h>

Inheritance diagram for dart::kernel::UnboxingInfoMetadata:
dart::ZoneAllocated

Classes

struct  UnboxingType
 

Public Types

enum  UnboxingKind {
  kBoxed , kInt , kDouble , kRecord ,
  kUnknown
}
 

Public Member Functions

 UnboxingInfoMetadata ()
 
void SetArgsCount (intptr_t num_args)
 
 DISALLOW_COPY_AND_ASSIGN (UnboxingInfoMetadata)
 
- Public Member Functions inherited from dart::ZoneAllocated
 ZoneAllocated ()
 
void * operator new (size_t size)
 
void * operator new (size_t size, Zone *zone)
 
void operator delete (void *pointer)
 

Public Attributes

GrowableArray< UnboxingTypeunboxed_args_info
 
UnboxingType return_info
 
bool must_use_stack_calling_convention
 
bool has_overrides_with_less_direct_parameters
 

Static Public Attributes

static constexpr uint8_t kMustUseStackCallingConventionFlag = 1 << 0
 
static constexpr uint8_t kHasUnboxedParameterOrReturnValueFlag = 1 << 1
 
static constexpr uint8_t kHasOverridesWithLessDirectParametersFlag = 1 << 2
 

Detailed Description

Definition at line 1211 of file kernel_translation_helper.h.

Member Enumeration Documentation

◆ UnboxingKind

Constructor & Destructor Documentation

◆ UnboxingInfoMetadata()

dart::kernel::UnboxingInfoMetadata::UnboxingInfoMetadata ( )
inline

Member Function Documentation

◆ DISALLOW_COPY_AND_ASSIGN()

dart::kernel::UnboxingInfoMetadata::DISALLOW_COPY_AND_ASSIGN ( UnboxingInfoMetadata  )

◆ SetArgsCount()

void dart::kernel::UnboxingInfoMetadata::SetArgsCount ( intptr_t  num_args)
inline

Definition at line 1233 of file kernel_translation_helper.h.

1233 {
1234 ASSERT(unboxed_args_info.is_empty());
1235 unboxed_args_info.SetLength(num_args);
1236 unboxed_args_info.FillWith(UnboxingType(), 0, num_args);
1237 }
#define ASSERT(E)

Member Data Documentation

◆ has_overrides_with_less_direct_parameters

bool dart::kernel::UnboxingInfoMetadata::has_overrides_with_less_direct_parameters

Definition at line 1244 of file kernel_translation_helper.h.

◆ kHasOverridesWithLessDirectParametersFlag

constexpr uint8_t dart::kernel::UnboxingInfoMetadata::kHasOverridesWithLessDirectParametersFlag = 1 << 2
staticconstexpr

Definition at line 1229 of file kernel_translation_helper.h.

◆ kHasUnboxedParameterOrReturnValueFlag

constexpr uint8_t dart::kernel::UnboxingInfoMetadata::kHasUnboxedParameterOrReturnValueFlag = 1 << 1
staticconstexpr

Definition at line 1228 of file kernel_translation_helper.h.

◆ kMustUseStackCallingConventionFlag

constexpr uint8_t dart::kernel::UnboxingInfoMetadata::kMustUseStackCallingConventionFlag = 1 << 0
staticconstexpr

Definition at line 1227 of file kernel_translation_helper.h.

◆ must_use_stack_calling_convention

bool dart::kernel::UnboxingInfoMetadata::must_use_stack_calling_convention

Definition at line 1243 of file kernel_translation_helper.h.

◆ return_info

UnboxingType dart::kernel::UnboxingInfoMetadata::return_info

Definition at line 1242 of file kernel_translation_helper.h.

◆ unboxed_args_info

GrowableArray<UnboxingType> dart::kernel::UnboxingInfoMetadata::unboxed_args_info

Definition at line 1241 of file kernel_translation_helper.h.


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