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