From 5b71b2acbf57b566decf6f8dc1e9d350dc7caa46 Mon Sep 17 00:00:00 2001 From: jochen Date: Fri, 12 Mar 1999 19:24:16 +0000 Subject: [PATCH] LocalLoad is not a ConstOperator! git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@393 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/expr/LocalLoadOperator.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/jode/jode/expr/LocalLoadOperator.java b/jode/jode/expr/LocalLoadOperator.java index 799ef2d..b8d62ed 100644 --- a/jode/jode/expr/LocalLoadOperator.java +++ b/jode/jode/expr/LocalLoadOperator.java @@ -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();