Revision 204a9c43 target-arm/helper.c

b/target-arm/helper.c
1608 1608
                ARMCPRegInfo *r2 = g_memdup(r, sizeof(ARMCPRegInfo));
1609 1609
                int is64 = (r->type & ARM_CP_64BIT) ? 1 : 0;
1610 1610
                *key = ENCODE_CP_REG(r->cp, is64, r->crn, crm, opc1, opc2);
1611
                r2->opaque = opaque;
1611
                if (opaque) {
1612
                    r2->opaque = opaque;
1613
                }
1612 1614
                /* Make sure reginfo passed to helpers for wildcarded regs
1613 1615
                 * has the correct crm/opc1/opc2 for this reg, not CP_ANY:
1614 1616
                 */

Also available in: Unified diff