View | Details | Raw Unified | Return to bug 35456
Collapse All | Expand All

(-)FieldReference.java (-1 / +1 lines)
Lines 518-525 Link Here
518
518
519
	public void setDepth(int depth) {
519
	public void setDepth(int depth) {
520
520
521
		bits &= ~DepthMASK; // flush previous depth if any			
521
		if (depth > 0) {
522
		if (depth > 0) {
522
			bits &= ~DepthMASK; // flush previous depth if any			
523
			bits |= (depth & 0xFF) << DepthSHIFT; // encoded on 8 bits
523
			bits |= (depth & 0xFF) << DepthSHIFT; // encoded on 8 bits
524
		}
524
		}
525
	}
525
	}
(-)MessageSend.java (-1 / +1 lines)
Lines 258-265 Link Here
258
	this.qualifyingType = receiverType;
258
	this.qualifyingType = receiverType;
259
}
259
}
260
public void setDepth(int depth) {
260
public void setDepth(int depth) {
261
	bits &= ~DepthMASK; // flush previous depth if any
261
	if (depth > 0) {
262
	if (depth > 0) {
262
		bits &= ~DepthMASK; // flush previous depth if any
263
		bits |= (depth & 0xFF) << DepthSHIFT; // encoded on 8 bits
263
		bits |= (depth & 0xFF) << DepthSHIFT; // encoded on 8 bits
264
	}
264
	}
265
}
265
}
(-)NameReference.java (-1 / +1 lines)
Lines 51-58 Link Here
51
	this.actualReceiverType = receiverType;
51
	this.actualReceiverType = receiverType;
52
}
52
}
53
public void setDepth(int depth) {
53
public void setDepth(int depth) {
54
	bits &= ~DepthMASK; // flush previous depth if any			
54
	if (depth > 0) {
55
	if (depth > 0) {
55
		bits &= ~DepthMASK; // flush previous depth if any			
56
		bits |= (depth & 0xFF) << DepthSHIFT; // encoded on 8 bits
56
		bits |= (depth & 0xFF) << DepthSHIFT; // encoded on 8 bits
57
	}
57
	}
58
}
58
}

Return to bug 35456