From 4015c16f9a7b24444d99a1c856706788fba3c450 Mon Sep 17 00:00:00 2001 From: jochen Date: Sat, 6 Mar 1999 21:30:49 +0000 Subject: [PATCH] usepush parameter (disable PUSH translation) git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@299 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/Decompiler.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/jode/jode/Decompiler.java b/jode/jode/Decompiler.java index 89bc81b..cb351ae 100644 --- a/jode/jode/Decompiler.java +++ b/jode/jode/Decompiler.java @@ -37,6 +37,7 @@ public class Decompiler { public static boolean isDebugging = false; public static boolean isTypeDebugging = false; public static boolean isFlowDebugging = false; + public static boolean usePUSH = false; public static boolean debugInOut = false; public static boolean debugAnalyze = false; public static boolean showLVT = false; @@ -55,7 +56,7 @@ public class Decompiler { err.println("use: jode [-v][--dest ]" +"[--imm][--pretty]" +"[--cp ]" - +"[--nolvt]" + +"[--nolvt][--usepush]" +"[--import ]" +"[--debug][--analyze][--flow]" +"[--type][--inout][--lvt][--check]" @@ -72,6 +73,8 @@ public class Decompiler { "search for classes in specified classpath."); err.println("\t--nolvt "+ "don't use the local variable table."); + err.println("\t--usepush "+ + "don't remove non compilable PUSH instrucions."); err.println("\t--style {sun|gnu}"+ " specifies indentation style"); err.println("\t--import "); @@ -120,6 +123,8 @@ public class Decompiler { debugInOut = true; else if (params[i].equals("--nolvt")) useLVT = false; + else if (params[i].equals("--usepush")) + usePUSH = true; else if (params[i].equals("--lvt")) showLVT = true; else if (params[i].equals("--check"))