Skip to content

Commit

Permalink
Remove unused method.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghislain Fourny committed Feb 27, 2024
1 parent 963106d commit c24e6c4
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ public class TransformExpression extends Expression {
private Expression returnExpression;
private int mutabilityLevel;

protected ExecutionMode variableHighestStorageMode = ExecutionMode.UNSET;

public TransformExpression(
List<CopyDeclaration> copyDeclarations,
Expression modifyExpression,
Expand Down Expand Up @@ -54,16 +52,6 @@ public Expression getReturnExpression() {
return returnExpression;
}

public ExecutionMode getVariableHighestStorageMode(VisitorConfig visitorConfig) {
if (
!visitorConfig.suppressErrorsForAccessingUnsetExecutionModes()
&& this.variableHighestStorageMode == ExecutionMode.UNSET
) {
throw new OurBadException("A copy variable storage mode is accessed without being set.");
}
return this.variableHighestStorageMode;
}

@Override
public List<Node> getChildren() {
List<Node> result = this.copyDeclarations.stream()
Expand Down

0 comments on commit c24e6c4

Please sign in to comment.