• Matthias Braun's avatar
    amd64: Always initialize amd64_addr_t · eae40498
    Matthias Braun authored
    We previously left the amd64_addr_t attribute uninitialized for OP_REG,
    OP_REG_REG and OP_REG_IMM. Make the code more consistent by always
    initializing it to the newly introduced X86_ADDR_REG variant, as a bonus
    we can also use base_input member to indicate the register input instead
    of hardcoding it to 0.