diff options
Diffstat (limited to 'src/proguard/optimize/peephole/UnreachableExceptionRemover.java')
-rw-r--r-- | src/proguard/optimize/peephole/UnreachableExceptionRemover.java | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/proguard/optimize/peephole/UnreachableExceptionRemover.java b/src/proguard/optimize/peephole/UnreachableExceptionRemover.java index 8e77716..150c4c5 100644 --- a/src/proguard/optimize/peephole/UnreachableExceptionRemover.java +++ b/src/proguard/optimize/peephole/UnreachableExceptionRemover.java @@ -2,7 +2,7 @@ * ProGuard -- shrinking, optimization, obfuscation, and preverification * of Java bytecode. * - * Copyright (c) 2002-2013 Eric Lafortune (eric@graphics.cornell.edu) + * Copyright (c) 2002-2014 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 @@ -41,9 +41,6 @@ implements AttributeVisitor, private final ExceptionInfoVisitor extraExceptionInfoVisitor; - private final ExceptionInstructionChecker exceptionInstructionChecker = new ExceptionInstructionChecker(); - - /** * Creates a new UnreachableExceptionRemover. */ @@ -123,11 +120,7 @@ implements AttributeVisitor, Instruction instruction = InstructionFactory.create(code, offset); // Check if it may be throwing exceptions. - if (exceptionInstructionChecker.mayThrowExceptions(clazz, - method, - codeAttribute, - offset, - instruction)) + if (instruction.mayThrowExceptions()) { return true; } |