|
|
@ -22,12 +22,12 @@ import jode.Decompiler; |
|
|
|
import jode.Type; |
|
|
|
import jode.Type; |
|
|
|
import jode.decompiler.LocalInfo; |
|
|
|
import jode.decompiler.LocalInfo; |
|
|
|
|
|
|
|
|
|
|
|
public class LocalLoadOperator extends ConstOperator |
|
|
|
public class LocalLoadOperator extends NoArgOperator |
|
|
|
implements LocalVarOperator { |
|
|
|
implements LocalVarOperator { |
|
|
|
LocalInfo local; |
|
|
|
LocalInfo local; |
|
|
|
|
|
|
|
|
|
|
|
public LocalLoadOperator(Type type, LocalInfo local) { |
|
|
|
public LocalLoadOperator(Type type, LocalInfo local) { |
|
|
|
super(type, ""); |
|
|
|
super(type); |
|
|
|
this.local = local; |
|
|
|
this.local = local; |
|
|
|
local.setType(type); |
|
|
|
local.setType(type); |
|
|
|
local.setOperator(this); |
|
|
|
local.setOperator(this); |
|
|
@ -59,6 +59,10 @@ implements LocalVarOperator { |
|
|
|
parent.updateType(); |
|
|
|
parent.updateType(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int getPriority() { |
|
|
|
|
|
|
|
return 1000; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public Type getType() { |
|
|
|
public Type getType() { |
|
|
|
// Decompiler.err.println("LocalLoad.getType of "+local.getName()+": "+local.getType());
|
|
|
|
// Decompiler.err.println("LocalLoad.getType of "+local.getName()+": "+local.getType());
|
|
|
|
return local.getType(); |
|
|
|
return local.getType(); |
|
|
|