Skip to content
  • Wim Taymans's avatar
    ruleset: fix registration of opcode sets · 2652cef6
    Wim Taymans authored and David Schleef's avatar David Schleef committed
    When we register a RuleSet for an OpcodeSet, don't keep a pointer from the
    RuleSet to the OpcodeSet because the OpcodeSet pointer can change (due to
    realloc) when we register new OpcodeSets.
    
    Instead, keep the opcode_major and use this to get the right index in the
    OpcodeSet.
    2652cef6