match by slots not by local (needed for CreateAssignExpression)

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@305 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 8ee12e406c
commit 640afa8178
  1. 4
      jode/jode/expr/LocalStoreOperator.java

@ -59,8 +59,8 @@ implements LocalVarOperator {
public boolean matches(Operator loadop) { public boolean matches(Operator loadop) {
return loadop instanceof LocalLoadOperator && return loadop instanceof LocalLoadOperator &&
((LocalLoadOperator)loadop).getLocalInfo().getLocalInfo() ((LocalLoadOperator)loadop).getLocalInfo().getSlot()
== local.getLocalInfo(); == local.getSlot();
} }
public int getLValueOperandCount() { public int getLValueOperandCount() {

Loading…
Cancel
Save