|
static constexpr intptr_t | kHashBits = Object::kHashBits |
|
Definition at line 451 of file program_visitor.cc.
◆ StackMapEntry()
Definition at line 453 of file program_visitor.cc.
456 bits_container_(
458
459
460 spill_slot_bit_count_(it.SpillSlotBitCount()),
461 non_spill_slot_bit_count_(it.Length() - it.SpillSlotBitCount()),
462 bits_offset_(it.current_bits_offset_) {
466 ASSERT(it.current_spill_slot_bit_count_ >= 0);
467 }
bool IsGlobalTable() const
bool UsesGlobalTable() const
◆ EncodeTo()
Definition at line 502 of file program_visitor.cc.
502 {
503 auto const current_offset =
stream->Position();
504 stream->WriteLEB128(spill_slot_bit_count_);
505 stream->WriteLEB128(non_spill_slot_bit_count_);
506 {
507 NoSafepointScope scope;
508 stream->WriteBytes(PayloadData(), PayloadLength());
509 }
510 return current_offset;
511 }
◆ Equals()
bool dart::StackMapEntry::Equals |
( |
const StackMapEntry & |
other | ) |
const |
|
inline |
Definition at line 488 of file program_visitor.cc.
488 {
489 if (spill_slot_bit_count_ != other.spill_slot_bit_count_ ||
490 non_spill_slot_bit_count_ != other.non_spill_slot_bit_count_) {
491 return false;
492 }
493
494
495
496 NoSafepointScope scope;
497 return memcmp(PayloadData(), other.PayloadData(), PayloadLength()) == 0;
498 }
◆ Hash()
uword dart::StackMapEntry::Hash |
( |
| ) |
|
|
inline |
Definition at line 471 of file program_visitor.cc.
471 {
472 if (hash_ != 0) return hash_;
476 {
477 NoSafepointScope scope;
478 auto const start = PayloadData();
479 auto const end =
start + PayloadLength();
480 for (
auto cursor = start; cursor <
end; cursor++) {
482 }
483 }
485 return hash_;
486 }
static uint32_t hash(const SkShaderBase::GradientInfo &v)
static constexpr intptr_t kHashBits
uint32_t CombineHashes(uint32_t hash, uint32_t other_hash)
uint32_t FinalizeHash(uint32_t hash, intptr_t hashbits=kBitsPerInt32)
◆ IncrementUsageCount()
void dart::StackMapEntry::IncrementUsageCount |
( |
| ) |
|
|
inline |
◆ UsageCount()
intptr_t dart::StackMapEntry::UsageCount |
( |
| ) |
const |
|
inline |
◆ kHashBits
constexpr intptr_t dart::StackMapEntry::kHashBits = Object::kHashBits |
|
staticconstexpr |
The documentation for this class was generated from the following file: