Skip to content

Commit

Permalink
Update BetterCFGBuilder2.java
Browse files Browse the repository at this point in the history
  • Loading branch information
KengoTODA committed Aug 28, 2022
1 parent ba1313b commit de39725
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1010,7 +1010,7 @@ private boolean isPEI(InstructionHandle handle) throws CFGBuilderException {
if (ins instanceof PUTFIELD && !methodGen.isStatic()) {
// Assume that PUTFIELD on this object is not PEI
int depth = ins.consumeStack(cpg);
int fieldSize = ((PUTFIELD)ins).getFieldType(cpg).getSize();
int fieldSize = ((PUTFIELD) ins).getFieldType(cpg).getSize();
for (InstructionHandle prev = handle.getPrev(); prev != null; prev = prev.getPrev()) {
Instruction prevInst = prev.getInstruction();
if (prevInst instanceof BranchInstruction) {
Expand Down

0 comments on commit de39725

Please sign in to comment.