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 875 of file kernel_fingerprints.cc.
875 {
876 hash_ = 0;
878
882
884 CalculateDartTypeFingerprint();
886
888 if (
PeekTag() == kFunctionExpression) {
889 AlternativeReadingScope alt(&
reader_);
890 CalculateExpressionFingerprint();
891 }
893 }
894
895 BuildHash(
name.Hash());
896 BuildHash(field_helper.flags_);
897 BuildHash(field_helper.annotation_count_);
898 return hash_;
899}
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 932 of file kernel_fingerprints.cc.
932 {
933 hash_ = 0;
935 if (tag == kField) {
937 } else if (tag == kConstructor) {
938 CalculateConstructorFingerprint();
939 return hash_;
940 }
945
947 CalculateFunctionNodeFingerprint();
948
949 BuildHash(procedure_helper.kind_);
950 BuildHash(procedure_helper.flags_);
951 BuildHash(procedure_helper.annotation_count_);
952 BuildHash(procedure_helper.stub_kind_);
953 BuildHash(
name.Hash());
954 return hash_;
955}
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: