Home | History | Annotate | Download | only in code

Lines Matching defs:local

55      * {@code null-ok;} local variable info associated with this register,
58 private final LocalItem local;
66 * @param local {@code null-ok;} the associated local variable, if any
70 LocalItem local) {
72 interningItem.set(reg, type, local);
106 * @param local {@code non-null;} the associated local variable
110 LocalItem local) {
111 if (local == null) {
112 throw new NullPointerException("local == null");
115 return intern(reg, type, local);
126 * @param local {@code null-ok;} the associated variable info or null for
131 int reg, TypeBearer type, LocalItem local) {
133 return intern(reg, type, local);
153 * @param local {@code null-ok;} the associated local variable, if any
155 private RegisterSpec(int reg, TypeBearer type, LocalItem local) {
166 this.local = local;
179 return equals(fc.reg, fc.type, fc.local);
185 return equals(spec.reg, spec.type, spec.local);
209 * local variable.
221 && ((local == other.local)
222 || ((local != null) && local.equals(other.local)));
232 * @param local value of the instance variable, for another instance
236 private boolean equals(int reg, TypeBearer type, LocalItem local) {
239 && ((this.local == local)
240 || ((this.local != null) && this.local.equals(local)));
245 * (that is types not {@link TypeBearer}s, and local info.
266 if (this.local == null) {
267 return (other.local == null) ? 0 : -1;
268 } else if (other.local == null) {
272 return this.local.compareTo(other.local);
278 return hashCodeOf(reg, type, local);
288 * @param local value of the instance variable
291 private static int hashCodeOf(int reg, TypeBearer type, LocalItem local) {
292 int hash = (local != null) ? local.hashCode() : 0;
366 return local;
443 * <li>If the locals are {@code equals()}, then the local info
444 * of the intersection is the local info of this instance. Otherwise,
445 * the local info of the intersection is {@code null}.</li>
449 * @param localPrimary whether local variables are primary to the
451 * results occur when registers being intersected have equal local
452 * infos (or both have {@code null} local infos)
466 ((local == null) || !local.equals(other.getLocalItem()))
467 ? null : local;
468 boolean sameName = (resultLocal == local);
506 return makeLocalOptional(newReg, type, local);
517 return makeLocalOptional(reg, newType, local);
561 return makeLocalOptional(reg, newType, local);
566 * local variable is as specified in the parameter.
568 * @param local {@code null-ok;} the local item or null for none
571 public RegisterSpec withLocalItem(LocalItem local) {
572 if ((this.local== local)
573 || ((this.local != null) && this.local.equals(local))) {
578 return makeLocalOptional(reg, type, local);
600 if (local != null) {
601 sb.append(local.toString());
638 * {@code null-ok;} local variable associated with this
641 private LocalItem local;
650 * @param local {@code null-ok;} the associated local variable, if any
653 public void set(int reg, TypeBearer type, LocalItem local) {
656 this.local = local;
666 return new RegisterSpec(reg, type, local);
677 return spec.equals(reg, type, local);
683 return hashCodeOf(reg, type, local);