From 25d7ed801b2df08b3083dcf6c5b83b9d5e42b278 Mon Sep 17 00:00:00 2001 From: jochen Date: Thu, 11 Mar 1999 22:52:25 +0000 Subject: [PATCH] rvaluetype is set in makeOpAssign git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@371 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/expr/StoreInstruction.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jode/jode/expr/StoreInstruction.java b/jode/jode/expr/StoreInstruction.java index 690cef8..78ae821 100644 --- a/jode/jode/expr/StoreInstruction.java +++ b/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() {