@Override public void copyFrom(Frame<ResourceValue> other_) { super.copyFrom(other_); ResourceValueFrame other = (ResourceValueFrame) other_; this.status = other.status; }
@Override public void copy(FrameType source, FrameType dest) { dest.copyFrom(source); }
@Override public void copyFrom(Frame<Type> other_) { clearExactSet(); TypeFrame other = (TypeFrame) other_; this.exactTypeSet.or(other.exactTypeSet); super.copyFrom(other_); }
@Override public void copyFrom(Frame<IsNullValue> other) { super.copyFrom(other); decision = ((IsNullValueFrame) other).decision; if (trackValueNumbers) { knownValueMap = Util.makeSmallHashMap(((IsNullValueFrame) other).knownValueMap); } }
if (copy == null) { copy = createFact(); copy.copyFrom(orig);
@Override public void copyFrom(Frame<ValueNumber> other) { if (!(other instanceof ValueNumberFrame)) { throw new IllegalArgumentException(); } // If merged value list hasn't been created yet, create it. if (mergedValueList == null && other.isValid()) { // This is where this frame gets its size. // It will have the same size as long as it remains valid. mergedValueList = new ArrayList<>(other.getNumSlots()); int numSlots = other.getNumSlots(); for (int i = 0; i < numSlots; ++i) { mergedValueList.add(null); } } if (REDUNDANT_LOAD_ELIMINATION) { assignAvailableLoadMap((ValueNumberFrame) other); assignPreviouslyKnownAs((ValueNumberFrame) other); } super.copyFrom(other); }
result.copyFrom(other); return; } else if (other.isTop()) {
@Override public void copyFrom(Frame<ResourceValue> other_) { super.copyFrom(other_); ResourceValueFrame other = (ResourceValueFrame) other_; this.status = other.status; }
@Override public void copy(FrameType source, FrameType dest) { dest.copyFrom(source); }
@Override public void copyFrom(Frame<Type> other_) { clearExactSet(); TypeFrame other = (TypeFrame) other_; this.exactTypeSet.or(other.exactTypeSet); super.copyFrom(other_); }
@Override public void copyFrom(Frame<IsNullValue> other) { super.copyFrom(other); decision = ((IsNullValueFrame) other).decision; if (trackValueNumbers) { knownValueMap = Util.makeSmallHashMap(((IsNullValueFrame) other).knownValueMap); } }
if (copy == null) { copy = createFact(); copy.copyFrom(orig);
@Override public void copyFrom(Frame<ValueNumber> other) { if (!(other instanceof ValueNumberFrame)) { throw new IllegalArgumentException(); } // If merged value list hasn't been created yet, create it. if (mergedValueList == null && other.isValid()) { // This is where this frame gets its size. // It will have the same size as long as it remains valid. mergedValueList = new ArrayList<ValueNumber>(other.getNumSlots()); int numSlots = other.getNumSlots(); for (int i = 0; i < numSlots; ++i) { mergedValueList.add(null); } } if (REDUNDANT_LOAD_ELIMINATION) { assignAvailableLoadMap((ValueNumberFrame) other); assignPreviouslyKnownAs((ValueNumberFrame) other); } super.copyFrom(other); }
result.copyFrom(other); return; } else if (other.isTop()) {