src/runtime/collect.c
// Advances `rtti` through one set of entries, without doing anything.
// Used for variants that aren't present.
Advances `rtti` through one set of entries, without doing anything.
Used for variants that aren't present.
Advances ` rtti ` through one set of entries without doing anything . Used for variants that aren ' t present .
static void rtti_skip(uint32_t** rtti) {
    while (true) {
        uint32_t entry = *(*rtti)++;
        if ((entry & 0b110) == 0b010) {
            uint32_t variants = entry >> 16;
            for (int i = 0; i < variants; i++) {
                rtti_skip(rtti);
            }
        }
        if (entry & 1) {
            continue;
        } else {
            break;
        }
    }
}
static void rtti_skip ( uint32_t * * rtti ) { while ( true ) { uint32_t entry = * ( * rtti ) ++ ; if ( ( entry & 0b110 ) == 0b010 ) { uint32_t variants = entry >> 16 ; for ( int i = 0 ; i < variants ; i ++ ) { rtti_skip ( rtti ) ; } } if ( entry & 1 ) { continue ; } else { break ; } } }
Advances `rtti` through one set of entries, without doing anything.
Advances ` rtti ` through one set of entries without doing anything .
// Case split