6/isel.c
/* ensures that a location is within a reg */
ensures that a location is within a reg
ensures that a location is within a reg
static Loc *newr(Isel *s, Loc *a)
{
    Loc *r;
    r = locreg(a->mode);
    if (a->type == Locreg) {
        if (isfloatmode(a->mode))
            g(s, Imovs, a, r, NULL);
        else
            g(s, Imov, a, r, NULL);
    } else {
        load(s, a, r);
    }
    return r;
}
static Loc * newr ( Isel * s , Loc * a ) { Loc * r ; r = locreg ( a -> mode ) ; if ( a -> type == Locreg ) { if ( isfloatmode ( a -> mode ) ) g ( s , Imovs , a , r , NULL ) ; else g ( s , Imov , a , r , NULL ) ; } else { load ( s , a , r ) ; } return r ; }
ensures that a location is within a reg
ensures that a location is within a reg