diff options
Diffstat (limited to 'src/proguard/classfile/attribute/visitor/StackSizeComputer.java')
-rw-r--r-- | src/proguard/classfile/attribute/visitor/StackSizeComputer.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/proguard/classfile/attribute/visitor/StackSizeComputer.java b/src/proguard/classfile/attribute/visitor/StackSizeComputer.java index c4711d1..401f188 100644 --- a/src/proguard/classfile/attribute/visitor/StackSizeComputer.java +++ b/src/proguard/classfile/attribute/visitor/StackSizeComputer.java @@ -2,7 +2,7 @@ * ProGuard -- shrinking, optimization, obfuscation, and preverification * of Java bytecode. * - * Copyright (c) 2002-2011 Eric Lafortune (eric@graphics.cornell.edu) + * Copyright (c) 2002-2009 Eric Lafortune (eric@graphics.cornell.edu) * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free @@ -27,8 +27,6 @@ import proguard.classfile.instruction.*; import proguard.classfile.instruction.visitor.InstructionVisitor; import proguard.classfile.util.SimplifiedVisitor; -import java.util.Arrays; - /** * This AttributeVisitor computes the stack sizes at all instruction offsets * of the code attributes that it visits. @@ -142,7 +140,10 @@ implements AttributeVisitor, } else { - Arrays.fill(evaluated, 0, codeLength, false); + for (int index = 0; index < codeLength; index++) + { + evaluated[index] = false; + } } // The initial stack is always empty. |