Definition at line 14 of file kernel_fingerprints.cc.
◆ KernelFingerprintHelper()
dart::kernel::KernelFingerprintHelper::KernelFingerprintHelper |
( |
Zone * |
zone, |
|
|
TranslationHelper * |
translation_helper, |
|
|
const TypedDataView & |
data, |
|
|
intptr_t |
data_program_offset |
|
) |
| |
|
inline |
Definition at line 16 of file kernel_fingerprints.cc.
21 hash_(0) {}
KernelReaderHelper(Zone *zone, TranslationHelper *translation_helper, const TypedDataBase &data, intptr_t data_program_offset)
static int8_t data[kExtLength]
◆ ~KernelFingerprintHelper()
virtual dart::kernel::KernelFingerprintHelper::~KernelFingerprintHelper |
( |
| ) |
|
|
inlinevirtual |
◆ CalculateFieldFingerprint()
uint32_t dart::kernel::KernelFingerprintHelper::CalculateFieldFingerprint |
( |
| ) |
|
Definition at line 876 of file kernel_fingerprints.cc.
876 {
877 hash_ = 0;
879
883
885 CalculateDartTypeFingerprint();
887
889 if (
PeekTag() == kFunctionExpression) {
890 AlternativeReadingScope alt(&
reader_);
891 CalculateExpressionFingerprint();
892 }
894 }
895
896 BuildHash(
name.Hash());
897 BuildHash(field_helper.flags_);
898 BuildHash(field_helper.annotation_count_);
899 return hash_;
900}
Tag ReadTag(uint8_t *payload=nullptr)
Tag PeekTag(uint8_t *payload=nullptr)
const String & ReadNameAsFieldName()
◆ CalculateFunctionFingerprint()
uint32_t dart::kernel::KernelFingerprintHelper::CalculateFunctionFingerprint |
( |
| ) |
|
Definition at line 933 of file kernel_fingerprints.cc.
933 {
934 hash_ = 0;
936 if (tag == kField) {
938 } else if (tag == kConstructor) {
939 CalculateConstructorFingerprint();
940 return hash_;
941 }
946
948 CalculateFunctionNodeFingerprint();
949
950 BuildHash(procedure_helper.kind_);
951 BuildHash(procedure_helper.flags_);
952 BuildHash(procedure_helper.annotation_count_);
953 BuildHash(procedure_helper.stub_kind_);
954 BuildHash(
name.Hash());
955 return hash_;
956}
uint32_t CalculateFieldFingerprint()
friend class ProcedureHelper
const String & ReadNameAsMethodName()
◆ CalculateHash()
static uint32_t dart::kernel::KernelFingerprintHelper::CalculateHash |
( |
uint32_t |
current, |
|
|
uint32_t |
val |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file: