r22270: provide __location__ in replace.h