Skip to content

Commit

Permalink
- update RedesignBackendOMC.doc
Browse files Browse the repository at this point in the history
- SimCode.mo 
  remove unused code

git-svn-id: https://openmodelica.org/svn/OpenModelica/branches/sjoelund-functiontree@6647 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Jens Frenkel committed Oct 27, 2010
1 parent 63ccaa5 commit da96617
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions Compiler/SimCode.mo
Expand Up @@ -7421,30 +7421,6 @@ algorithm
end matchcontinue;
end getMatchingExps;

protected function matchCallsAndFnRefs
"calls matchCalls and matchFnRefs"
input DAE.Exp inExpr;
output list<DAE.Exp> outExprLst;
algorithm
outExprLst := matchcontinue (inExpr)
local list<DAE.Exp> explst,explst1,explst_1,explst2;
case (inExpr)
equation
explst = matchCalls(inExpr);
explst_1 = Util.listSelect(explst, isNotBuiltinCall);
explst1 = matchFnRefs(inExpr);
explst2 = listAppend(explst,explst_1);
then
explst2;
case (inExpr)
equation
failure(explst = matchCalls(inExpr));
explst1 = matchFnRefs(inExpr);
then
explst1;
end matchcontinue;
end matchCallsAndFnRefs;

protected function matchCalls
"Used together with getMatchingExps"
input DAE.Exp inExpr;
Expand Down

0 comments on commit da96617

Please sign in to comment.