src/share/classes/jdk/internal/org/objectweb/asm/tree/analysis/SourceValue.java
Print this page
*** 75,86 ****
*/
public final int size;
/**
* The instructions that can produce this value. For example, for the Java
! * code below, the instructions that can produce the value of <tt>i</tt>
! * at line 5 are the txo ISTORE instructions at line 1 and 3:
*
* <pre>
* 1: i = 0;
* 2: if (...) {
* 3: i = 1;
--- 75,86 ----
*/
public final int size;
/**
* The instructions that can produce this value. For example, for the Java
! * code below, the instructions that can produce the value of <tt>i</tt> at
! * line 5 are the txo ISTORE instructions at line 1 and 3:
*
* <pre>
* 1: i = 0;
* 2: if (...) {
* 3: i = 1;
*** 91,101 ****
* This field is a set of {@link AbstractInsnNode} objects.
*/
public final Set<AbstractInsnNode> insns;
public SourceValue(final int size) {
! this(size, SmallSet.<AbstractInsnNode>emptySet());
}
public SourceValue(final int size, final AbstractInsnNode insn) {
this.size = size;
this.insns = new SmallSet<AbstractInsnNode>(insn, null);
--- 91,101 ----
* This field is a set of {@link AbstractInsnNode} objects.
*/
public final Set<AbstractInsnNode> insns;
public SourceValue(final int size) {
! this(size, SmallSet.<AbstractInsnNode> emptySet());
}
public SourceValue(final int size, final AbstractInsnNode insn) {
this.size = size;
this.insns = new SmallSet<AbstractInsnNode>(insn, null);