Skip to content

Commit

Permalink
Remove compiler flag evalConstFuncs
Browse files Browse the repository at this point in the history
  - Use --preOptModules+=evalFunc instead.
  • Loading branch information
AnHeuermann authored and AnHeuermann committed Nov 25, 2020
1 parent b286051 commit 8980c56
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 104 deletions.
5 changes: 0 additions & 5 deletions OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo
Expand Up @@ -8472,11 +8472,6 @@ algorithm
disabledModules := "removeSimpleEquations"::disabledModules;
end if;

if not Flags.isSet(Flags.EVALUATE_CONST_FUNCTIONS) then
disabledModules := "evalFunc"::disabledModules;
Error.addCompilerWarning("Deprecated debug flag --d=evalConstFuncs=false detected. Use --preOptModules-=evalFunc instead.");
end if;

if not Flags.isSet(Flags.NF_SCALARIZE) then
disabledModules := "inlineArrayEqn"::disabledModules;
end if;
Expand Down

0 comments on commit 8980c56

Please sign in to comment.