From d5ccb055fe1fb0646832e62d2a8a7e83136d6ff8 Mon Sep 17 00:00:00 2001 From: jochen Date: Thu, 4 Mar 1999 18:01:24 +0000 Subject: [PATCH] check nolvt option git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@298 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/decompiler/CodeAnalyzer.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/jode/jode/decompiler/CodeAnalyzer.java b/jode/jode/decompiler/CodeAnalyzer.java index 3cc2457..b6a2a23 100644 --- a/jode/jode/decompiler/CodeAnalyzer.java +++ b/jode/jode/decompiler/CodeAnalyzer.java @@ -57,10 +57,12 @@ public class CodeAnalyzer implements Analyzer { method = ma; env = e; - AttributeInfo attr = code.findAttribute("LocalVariableTable"); - if (attr != null) - lvt = new LocalVariableTable(bc.getMaxLocals(), - method.classAnalyzer, attr); + if (Decompiler.useLVT) { + AttributeInfo attr = code.findAttribute("LocalVariableTable"); + if (attr != null) + lvt = new LocalVariableTable(bc.getMaxLocals(), + method.classAnalyzer, attr); + } int paramCount = method.getParamCount(); param = new LocalInfo[paramCount];