*** empty log message ***

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@373 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 407e22750e
commit b430017c42
  1. 5
      jode/jode/decompiler/CodeAnalyzer.java
  2. 2
      jode/jode/flow/CreateClassField.java

@ -186,8 +186,6 @@ public class CodeAnalyzer implements Analyzer {
excHandlers.analyze();
methodHeader.analyze();
if (!Decompiler.usePUSH && methodHeader.mapStackToLocal())
methodHeader.removePush();
}
public void analyze()
@ -195,6 +193,9 @@ public class CodeAnalyzer implements Analyzer {
byte[] codeArray = code.getCode();
int[] handlers = code.getExceptionHandlers();
readCode(codeArray, handlers);
if (!Decompiler.usePUSH && methodHeader.mapStackToLocal())
methodHeader.removePush();
Enumeration enum = allLocals.elements();
while (enum.hasMoreElements()) {
LocalInfo li = (LocalInfo)enum.nextElement();

@ -57,7 +57,7 @@ public class CreateClassField {
ComplexExpression ass = (ComplexExpression) instr;
PutFieldOperator put = (PutFieldOperator) ass.getOperator();
if (!put.isSynthetic()
if (!put.getField().isSynthetic()
|| !put.matches((GetFieldOperator)cmp.getSubExpressions()[0])
|| !(ass.getSubExpressions()[0] instanceof ComplexExpression)
|| !(ass.getSubExpressions()[0].getOperator()

Loading…
Cancel
Save