Skip to content

Commit

Permalink
[Janitor mode] Fix whitespace
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24792 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Feb 26, 2015
1 parent 1a0275d commit f636fff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/HpcOmScheduler.mo
Expand Up @@ -5578,7 +5578,7 @@ algorithm
parTime := HpcOmTaskGraph.roundReal(parTime,2);
oCriticalPathInfo := HpcOmTaskGraph.dumpCriticalPathInfo((criticalPaths,cpCosts),(criticalPathsWoC,cpCostsWoC));
cpCostsWoC := HpcOmTaskGraph.roundReal(cpCostsWoC,2);

if Flags.isSet(Flags.HPCOM_DUMP) then
print("the serialCosts: "+realString(serTime)+"\n");
print("the parallelCosts: "+realString(parTime)+"\n");
Expand Down
4 changes: 2 additions & 2 deletions Compiler/FrontEnd/Patternm.mo
Expand Up @@ -2755,7 +2755,7 @@ algorithm
case DAE.STMT_FOR(ty,b,id,index,exp,body,source)
equation
// Loops repeat, so check for usage in the whole loop before removing any dead stores.
(_, useTree) = List.map1Fold(body, statementFindDeadStore, localsTree, inUseTree);
(_, useTree) = List.map1Fold(body, statementFindDeadStore, localsTree, inUseTree);
(body,useTree) = statementListFindDeadStoreRemoveEmptyStatements(body,localsTree, useTree);
(_,useTree) = Expression.traverseExp(exp, useLocalCref, useTree);
// TODO: We should remove ident from the use-tree in case of shadowing... But our avlTree cannot delete
Expand All @@ -2765,7 +2765,7 @@ algorithm
case DAE.STMT_WHILE(exp=exp,statementLst=body,source=source)
equation
// Loops repeat, so check for usage in the whole loop before removing any dead stores.
(_, useTree) = List.map1Fold(body, statementFindDeadStore, localsTree, inUseTree);
(_, useTree) = List.map1Fold(body, statementFindDeadStore, localsTree, inUseTree);
(body,useTree) = statementListFindDeadStoreRemoveEmptyStatements(body, localsTree, useTree);
(_,useTree) = Expression.traverseExp(exp, useLocalCref, useTree);
// The loop might not be entered just like if. The following should not remove all previous uses:
Expand Down

0 comments on commit f636fff

Please sign in to comment.