Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | List of all members
dart::kernel::CallSiteAttributesMetadataHelper Class Reference

#include <kernel_translation_helper.h>

Inheritance diagram for dart::kernel::CallSiteAttributesMetadataHelper:
dart::kernel::MetadataHelper

Public Member Functions

 CallSiteAttributesMetadataHelper (KernelReaderHelper *helper, TypeTranslator *type_translator)
 
CallSiteAttributesMetadata GetCallSiteAttributes (intptr_t node_offset)
 
- Public Member Functions inherited from dart::kernel::MetadataHelper
 MetadataHelper (KernelReaderHelper *helper, const char *tag, bool precompiler_only)
 

Static Public Member Functions

static const char * tag ()
 

Additional Inherited Members

- Protected Member Functions inherited from dart::kernel::MetadataHelper
intptr_t FindMetadataMapping (intptr_t node_offset)
 
intptr_t GetNextMetadataPayloadOffset (intptr_t node_offset)
 
intptr_t GetComponentMetadataPayloadOffset ()
 
- Protected Attributes inherited from dart::kernel::MetadataHelper
KernelReaderHelperhelper_
 
TranslationHelpertranslation_helper_
 

Detailed Description

Definition at line 1155 of file kernel_translation_helper.h.

Constructor & Destructor Documentation

◆ CallSiteAttributesMetadataHelper()

dart::kernel::CallSiteAttributesMetadataHelper::CallSiteAttributesMetadataHelper ( KernelReaderHelper helper,
TypeTranslator type_translator 
)

Definition at line 2042 of file kernel_translation_helper.cc.

2045 : MetadataHelper(helper, tag(), /* precompiler_only = */ false),
2046 type_translator_(*type_translator) {}
MetadataHelper(KernelReaderHelper *helper, const char *tag, bool precompiler_only)

Member Function Documentation

◆ GetCallSiteAttributes()

CallSiteAttributesMetadata dart::kernel::CallSiteAttributesMetadataHelper::GetCallSiteAttributes ( intptr_t  node_offset)

Definition at line 2064 of file kernel_translation_helper.cc.

2064 {
2065 CallSiteAttributesMetadata metadata;
2066 ReadMetadata(node_offset, &metadata);
2067 return metadata;
2068}

◆ tag()

static const char * dart::kernel::CallSiteAttributesMetadataHelper::tag ( )
inlinestatic

Definition at line 1157 of file kernel_translation_helper.h.

1157{ return "vm.call-site-attributes.metadata"; }

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