rvaluetype is set in makeOpAssign

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@371 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 5dea3c5374
commit 25d7ed801b
  1. 6
      jode/jode/expr/StoreInstruction.java

@ -25,17 +25,17 @@ public abstract class StoreInstruction extends Operator
public String lvCasts;
Type lvalueType;
Type rvalueType;
Type rvalueType = null;
public StoreInstruction(Type type, int operator) {
super(Type.tVoid, operator);
lvalueType = type;
rvalueType = Type.tUnknown;
lvCasts = lvalueType.toString();
}
public void makeOpAssign(int operator) {
public void makeOpAssign(int operator, Type rvalueType) {
setOperatorIndex(operator);
this.rvalueType = rvalueType;
}
public Type getType() {

Loading…
Cancel
Save