*** empty log message ***

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@220 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 542e070032
commit e8945b01b3
  1. 2
      jode/jode/expr/Expression.java
  2. 9
      jode/jode/expr/InvokeOperator.java

@ -99,7 +99,7 @@ public abstract class Expression {
* not checked. * not checked.
* @param op The combineable operator. * @param op The combineable operator.
* @return if this expression contains a matching load. */ * @return if this expression contains a matching load. */
public boolean containsConflictingLoad(CombineableOperator op) { public boolean containsConflictingLoad(MatchableOperator op) {
return op.matches(getOperator()); return op.matches(getOperator());
} }

@ -24,7 +24,7 @@ import jode.Type;
import jode.bytecode.ClassInfo; import jode.bytecode.ClassInfo;
public final class InvokeOperator extends Operator public final class InvokeOperator extends Operator
implements CombineableOperator { implements MatchableOperator {
CodeAnalyzer codeAnalyzer; CodeAnalyzer codeAnalyzer;
boolean specialFlag; boolean specialFlag;
MethodType methodType; MethodType methodType;
@ -55,13 +55,6 @@ public final class InvokeOperator extends Operator
return expr.containsConflictingLoad(this); return expr.containsConflictingLoad(this);
} }
/**
* Makes a non void expression out of this invoke instruction.
*/
public void makeNonVoid() {
throw new jode.AssertError("already non void");
}
/** /**
* Checks if the value of the operator can be changed by this expression. * Checks if the value of the operator can be changed by this expression.
*/ */

Loading…
Cancel
Save