// conversion functions static Location asLocation(Register reg) { return Location::registerLocation(reg.number()); }