5#ifndef V8_COMPILER_TURBOSHAFT_SNAPSHOT_TABLE_OPINDEX_H_
6#define V8_COMPILER_TURBOSHAFT_SNAPSHOT_TABLE_OPINDEX_H_
17template <
class Value,
class KeyData = NoKeyData>
Key NewKey(KeyData data, Value initial_value=Value{})
const Value & Get(Key key) const
const Value & GetPredecessorValue(Key key, int predecessor_index)
bool Set(Key key, Value new_value)
ZoneAbslFlatHashMap< OpIndex, Key > indices_to_keys_
void NewKey(OpIndex idx, KeyData data, Value initial_value=Value{})
bool Set(OpIndex idx, Value new_value)
void NewKey(OpIndex idx, Value initial_value=Value{})
std::optional< Key > TryGetKeyFor(OpIndex idx) const
Value GetPredecessorValue(OpIndex idx, int predecessor_index)
bool HasKeyFor(OpIndex idx) const
Value Get(OpIndex idx) const
SparseOpIndexSnapshotTable(Zone *zone)
Key GetOrCreateKey(OpIndex idx)
typename SnapshotTable< Value, KeyData >::Key Key
#define DCHECK(condition)