/** * Construct a {@code RegisterSpec} of this instance's * contents. * * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec toRegisterSpec() { return new RegisterSpec(reg, type, local); }
/** * Construct a {@code RegisterSpec} of this instance's * contents. * * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec toRegisterSpec() { return new RegisterSpec(reg, type, local); }
/** * Construct a {@code RegisterSpec} of this instance's * contents. * * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec toRegisterSpec() { return new RegisterSpec(reg, type, local); }
/** * Construct a {@code RegisterSpec} of this instance's * contents. * * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec toRegisterSpec() { return new RegisterSpec(reg, type, local); }
/** * Construct a {@code RegisterSpec} of this instance's * contents. * * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec toRegisterSpec() { return new RegisterSpec(reg, type, local); }
/** * Construct a {@code RegisterSpec} of this instance's * contents. * * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec toRegisterSpec() { return new RegisterSpec(reg, type, local); }
/** * Construct a {@code RegisterSpec} of this instance's * contents. * * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec toRegisterSpec() { return new RegisterSpec(reg, type, local); }
/** * Intern the given triple as an instance of this class. * * @param reg {@code >= 0;} the register number * @param type {@code non-null;} the type (or possibly actual value) which * is loaded from or stored to the indicated register * @param local {@code null-ok;} the associated local variable, if any * @return {@code non-null;} an appropriately-constructed instance */ private static RegisterSpec intern(int reg, TypeBearer type, LocalItem local) { RegisterSpec tmp = new RegisterSpec(reg, type, local); RegisterSpec result = theInterns.putIfAbsent(tmp, tmp); return result != null ? result : tmp; }