/** * Gets the last instruction. This is just a convenient shorthand for * {@code get(size() - 1)}. * * @return {@code non-null;} the last instruction */ public Insn getLast() { return get(size() - 1); }
/** * Gets the last instruction. This is just a convenient shorthand for * {@code get(size() - 1)}. * * @return {@code non-null;} the last instruction */ public Insn getLast() { return get(size() - 1); }
/** * Gets the last instruction. This is just a convenient shorthand for * {@code get(size() - 1)}. * * @return {@code non-null;} the last instruction */ public Insn getLast() { return get(size() - 1); }
/** * Gets the last instruction. This is just a convenient shorthand for * {@code get(size() - 1)}. * * @return {@code non-null;} the last instruction */ public Insn getLast() { return get(size() - 1); }
/** * Gets the last instruction. This is just a convenient shorthand for * {@code get(size() - 1)}. * * @return {@code non-null;} the last instruction */ public Insn getLast() { return get(size() - 1); }
/** * Gets the last instruction. This is just a convenient shorthand for * {@code get(size() - 1)}. * * @return {@code non-null;} the last instruction */ public Insn getLast() { return get(size() - 1); }
/** * Gets the last instruction. This is just a convenient shorthand for * {@code get(size() - 1)}. * * @return {@code non-null;} the last instruction */ public Insn getLast() { return get(size() - 1); }
/** * Gets the last instruction. This is just a convenient shorthand for * {@code get(size() - 1)}. * * @return {@code non-null;} the last instruction */ public Insn getLast() { return get(size() - 1); }
/** * Visits each instruction in the list, in order. * * @param visitor {@code non-null;} visitor to use */ public void forEach(Insn.Visitor visitor) { int sz = size(); for (int i = 0; i < sz; i++) { get(i).accept(visitor); } }
/** * Visits each instruction in the list, in order. * * @param visitor {@code non-null;} visitor to use */ public void forEach(Insn.Visitor visitor) { int sz = size(); for (int i = 0; i < sz; i++) { get(i).accept(visitor); } }
/** * Visits each instruction in the list, in order. * * @param visitor {@code non-null;} visitor to use */ public void forEach(Insn.Visitor visitor) { int sz = size(); for (int i = 0; i < sz; i++) { get(i).accept(visitor); } }
/** * Visits each instruction in the list, in order. * * @param visitor {@code non-null;} visitor to use */ public void forEach(Insn.Visitor visitor) { int sz = size(); for (int i = 0; i < sz; i++) { get(i).accept(visitor); } }
/** * Visits each instruction in the list, in order. * * @param visitor {@code non-null;} visitor to use */ public void forEach(Insn.Visitor visitor) { int sz = size(); for (int i = 0; i < sz; i++) { get(i).accept(visitor); } }
/** * Visits each instruction in the list, in order. * * @param visitor {@code non-null;} visitor to use */ public void forEach(Insn.Visitor visitor) { int sz = size(); for (int i = 0; i < sz; i++) { get(i).accept(visitor); } }
/** * Visits each instruction in the list, in order. * * @param visitor {@code non-null;} visitor to use */ public void forEach(Insn.Visitor visitor) { int sz = size(); for (int i = 0; i < sz; i++) { get(i).accept(visitor); } }
/** * Visits each instruction in the list, in order. * * @param visitor {@code non-null;} visitor to use */ public void forEach(Insn.Visitor visitor) { int sz = size(); for (int i = 0; i < sz; i++) { get(i).accept(visitor); } }
/** * Gets the total instruction count for this instance. This is the * sum of the instruction counts of each block. * * @return {@code >= 0;} the total instruction count */ public int getInstructionCount() { int sz = size(); int result = 0; for (int i = 0; i < sz; i++) { BasicBlock one = (BasicBlock) getOrNull0(i); if (one != null) { result += one.getInsns().size(); } } return result; }
/** * Gets the total instruction count for this instance. This is the * sum of the instruction counts of each block. * * @return {@code >= 0;} the total instruction count */ public int getInstructionCount() { int sz = size(); int result = 0; for (int i = 0; i < sz; i++) { BasicBlock one = (BasicBlock) getOrNull0(i); if (one != null) { result += one.getInsns().size(); } } return result; }
/** * Gets the total instruction count for this instance. This is the * sum of the instruction counts of each block. * * @return {@code >= 0;} the total instruction count */ public int getInstructionCount() { int sz = size(); int result = 0; for (int i = 0; i < sz; i++) { BasicBlock one = (BasicBlock) getOrNull0(i); if (one != null) { result += one.getInsns().size(); } } return result; }
/** * Gets the total instruction count for this instance. This is the * sum of the instruction counts of each block. * * @return {@code >= 0;} the total instruction count */ public int getInstructionCount() { int sz = size(); int result = 0; for (int i = 0; i < sz; i++) { BasicBlock one = (BasicBlock) getOrNull0(i); if (one != null) { result += one.getInsns().size(); } } return result; }