Lines Matching refs:local

50      * {@code null-ok;} local variable info associated with this register,
53 private final LocalItem local;
61 * @param local {@code null-ok;} the associated local variable, if any
65 LocalItem local) {
67 theInterningItem.set(reg, type, local);
102 * @param local {@code non-null;} the associated local variable
106 LocalItem local) {
107 if (local == null) {
108 throw new NullPointerException("local == null");
111 return intern(reg, type, local);
122 * @param local {@code null-ok;} the associated variable info or null for
127 int reg, TypeBearer type, LocalItem local) {
129 return intern(reg, type, local);
149 * @param local {@code null-ok;} the associated local variable, if any
151 private RegisterSpec(int reg, TypeBearer type, LocalItem local) {
162 this.local = local;
171 return equals(fc.reg, fc.type, fc.local);
177 return equals(spec.reg, spec.type, spec.local);
201 * local variable.
213 && ((local == other.local)
214 || ((local != null) && local.equals(other.local)));
223 * @param local value of the instance variable, for another instance
227 private boolean equals(int reg, TypeBearer type, LocalItem local) {
230 && ((this.local == local)
231 || ((this.local != null) && this.local.equals(local)));
236 * (that is types not {@link TypeBearer}s, and local info.
254 if (this.local == null) {
255 return (other.local == null) ? 0 : -1;
256 } else if (other.local == null) {
260 return this.local.compareTo(other.local);
266 return hashCodeOf(reg, type, local);
275 * @param local value of the instance variable
278 private static int hashCodeOf(int reg, TypeBearer type, LocalItem local) {
279 int hash = (local != null) ? local.hashCode() : 0;
347 return local;
424 * <li>If the locals are {@code equals()}, then the local info
425 * of the intersection is the local info of this instance. Otherwise,
426 * the local info of the intersection is {@code null}.</li>
430 * @param localPrimary whether local variables are primary to the
432 * results occur when registers being intersected have equal local
433 * infos (or both have {@code null} local infos)
447 ((local == null) || !local.equals(other.getLocalItem()))
448 ? null : local;
449 boolean sameName = (resultLocal == local);
487 return makeLocalOptional(newReg, type, local);
498 return makeLocalOptional(reg, newType, local);
542 return makeLocalOptional(reg, newType, local);
547 * local variable is as specified in the parameter.
549 * @param local {@code null-ok;} the local item or null for none
552 public RegisterSpec withLocalItem(LocalItem local) {
553 if ((this.local== local)
554 || ((this.local != null) && this.local.equals(local))) {
559 return makeLocalOptional(reg, type, local);
575 if (local != null) {
576 sb.append(local.toString());
609 * {@code null-ok;} local variable associated with this
612 private LocalItem local;
621 * @param local {@code null-ok;} the associated local variable, if any
624 public void set(int reg, TypeBearer type, LocalItem local) {
627 this.local = local;
637 return new RegisterSpec(reg, type, local);
648 return spec.equals(reg, type, local);
654 return hashCodeOf(reg, type, local);