Lines Matching defs:value
37 // Helper: Add the offsets from 'other' to 'value'. Also set is_statement.
38 void AddAndSetEntry(PositionTableEntry* value,
40 value->code_offset += other.code_offset;
41 DCHECK_IMPLIES(value->code_offset != kFunctionEntryBytecodeOffset,
42 value->code_offset >= 0);
43 value->source_position += other.source_position;
44 DCHECK_LE(0, value->source_position);
45 value->is_statement = other.is_statement;
48 // Helper: Subtract the offsets from 'other' from 'value'.
49 void SubtractFromEntry(PositionTableEntry* value,
51 value->code_offset -= other.code_offset;
52 value->source_position -= other.source_position;
57 void EncodeInt(ZoneVector<byte>* bytes, T value) {
61 value = ((static_cast<unsigned_type>(value) << 1) ^ (value >> kShift));
62 DCHECK_GE(value, 0);
63 unsigned_type encoded = static_cast<unsigned_type>(value);