/** * 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; }
/** * 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; }
/** * Gets the total instruction count for this instance, ignoring * mark-local instructions which are not actually emitted. * * @return {@code >= 0;} the total instruction count */ public int getEffectiveInstructionCount() { int sz = size(); int result = 0; for (int i = 0; i < sz; i++) { BasicBlock one = (BasicBlock) getOrNull0(i); if (one != null) { InsnList insns = one.getInsns(); int insnsSz = insns.size(); for (int j = 0; j < insnsSz; j++) { Insn insn = insns.get(j); if (insn.getOpcode().getOpcode() != RegOps.MARK_LOCAL) { result++; } } } } return result; }
/** * Gets the total instruction count for this instance, ignoring * mark-local instructions which are not actually emitted. * * @return {@code >= 0;} the total instruction count */ public int getEffectiveInstructionCount() { int sz = size(); int result = 0; for (int i = 0; i < sz; i++) { BasicBlock one = (BasicBlock) getOrNull0(i); if (one != null) { InsnList insns = one.getInsns(); int insnsSz = insns.size(); for (int j = 0; j < insnsSz; j++) { Insn insn = insns.get(j); if (insn.getOpcode().getOpcode() != RegOps.MARK_LOCAL) { result++; } } } } return result; }
/** * Gets the total instruction count for this instance, ignoring * mark-local instructions which are not actually emitted. * * @return {@code >= 0;} the total instruction count */ public int getEffectiveInstructionCount() { int sz = size(); int result = 0; for (int i = 0; i < sz; i++) { BasicBlock one = (BasicBlock) getOrNull0(i); if (one != null) { InsnList insns = one.getInsns(); int insnsSz = insns.size(); for (int j = 0; j < insnsSz; j++) { Insn insn = insns.get(j); if (insn.getOpcode().getOpcode() != RegOps.MARK_LOCAL) { result++; } } } } return result; }
/** * Gets the total instruction count for this instance, ignoring * mark-local instructions which are not actually emitted. * * @return {@code >= 0;} the total instruction count */ public int getEffectiveInstructionCount() { int sz = size(); int result = 0; for (int i = 0; i < sz; i++) { BasicBlock one = (BasicBlock) getOrNull0(i); if (one != null) { InsnList insns = one.getInsns(); int insnsSz = insns.size(); for (int j = 0; j < insnsSz; j++) { Insn insn = insns.get(j); if (insn.getOpcode().getOpcode() != RegOps.MARK_LOCAL) { result++; } } } } return result; }
/** * Gets the total instruction count for this instance, ignoring * mark-local instructions which are not actually emitted. * * @return {@code >= 0;} the total instruction count */ public int getEffectiveInstructionCount() { int sz = size(); int result = 0; for (int i = 0; i < sz; i++) { BasicBlock one = (BasicBlock) getOrNull0(i); if (one != null) { InsnList insns = one.getInsns(); int insnsSz = insns.size(); for (int j = 0; j < insnsSz; j++) { Insn insn = insns.get(j); if (insn.getOpcode().getOpcode() != RegOps.MARK_LOCAL) { result++; } } } } return result; }
/** * Gets the total instruction count for this instance, ignoring * mark-local instructions which are not actually emitted. * * @return {@code >= 0;} the total instruction count */ public int getEffectiveInstructionCount() { int sz = size(); int result = 0; for (int i = 0; i < sz; i++) { BasicBlock one = (BasicBlock) getOrNull0(i); if (one != null) { InsnList insns = one.getInsns(); int insnsSz = insns.size(); for (int j = 0; j < insnsSz; j++) { Insn insn = insns.get(j); if (insn.getOpcode().getOpcode() != RegOps.MARK_LOCAL) { result++; } } } } return result; }
/** * Gets the total instruction count for this instance, ignoring * mark-local instructions which are not actually emitted. * * @return {@code >= 0;} the total instruction count */ public int getEffectiveInstructionCount() { int sz = size(); int result = 0; for (int i = 0; i < sz; i++) { BasicBlock one = (BasicBlock) getOrNull0(i); if (one != null) { InsnList insns = one.getInsns(); int insnsSz = insns.size(); for (int j = 0; j < insnsSz; j++) { Insn insn = insns.get(j); if (insn.getOpcode().getOpcode() != RegOps.MARK_LOCAL) { result++; } } } } return result; }
/** * Gets the total instruction count for this instance, ignoring * mark-local instructions which are not actually emitted. * * @return {@code >= 0;} the total instruction count */ public int getEffectiveInstructionCount() { int sz = size(); int result = 0; for (int i = 0; i < sz; i++) { BasicBlock one = (BasicBlock) getOrNull0(i); if (one != null) { InsnList insns = one.getInsns(); int insnsSz = insns.size(); for (int j = 0; j < insnsSz; j++) { Insn insn = insns.get(j); if (insn.getOpcode().getOpcode() != RegOps.MARK_LOCAL) { result++; } } } } return result; }