5#ifndef V8_INTERPRETER_BLOCK_COVERAGE_BUILDER_H_
6#define V8_INTERPRETER_BLOCK_COVERAGE_BUILDER_H_
15namespace interpreter {
39 const int slot =
static_cast<int>(
slots_.size());
40 slots_.emplace_back(range);
52 const int slot =
static_cast<int>(
slots_.size());
53 slots_.emplace_back(range);
68 const int slot =
static_cast<int>(
slots_.size());
69 slots_.emplace_back(range);
AstNodeSourceRanges * Find(ZoneObject *node)
const ZoneVector< SourceRange > & slots() const
void IncrementBlockCounter(int coverage_array_slot)
ZoneVector< SourceRange > slots_
static constexpr int kNoCoverageArraySlot
int AllocateNaryBlockCoverageSlot(NaryOperation *node, size_t index)
SourceRangeMap * source_range_map_
int AllocateConditionalChainBlockCoverageSlot(ConditionalChain *node, SourceRangeKind kind, size_t index)
void IncrementBlockCounter(ZoneObject *node, SourceRangeKind kind)
int AllocateBlockCoverageSlot(ZoneObject *node, SourceRangeKind kind)
BytecodeArrayBuilder * builder_
BlockCoverageBuilder(Zone *zone, BytecodeArrayBuilder *builder, SourceRangeMap *source_range_map)
BytecodeArrayBuilder & IncBlockCounter(int slot)
#define DCHECK_NOT_NULL(val)