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@20202 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Apr 19, 2014
1 parent 6350211 commit a4e635a
Show file tree
Hide file tree
Showing 12 changed files with 344 additions and 344 deletions.
20 changes: 10 additions & 10 deletions Compiler/FFrontEnd/FExpand.mo
Expand Up @@ -86,14 +86,14 @@ algorithm
Absyn.Path p;
Graph g;
Scope s;

case (p, g)
equation
t = FGraph.top(g);
r = t;
then
(g, r);

end match;
end path;

Expand All @@ -107,46 +107,46 @@ algorithm
local
list<Real> lst;
Graph g;

case g
equation
lst = {};

System.startTimer();
// resolve extends
g = FResolve.ext(FGraph.top(g), g);
System.stopTimer();
lst = List.consr(lst, System.getTimerIntervalTime());
print("Extends: " +& realString(List.first(lst)) +& "\n");

System.startTimer();
// resolve derived
g = FResolve.derived(FGraph.top(g), g);
System.stopTimer();
lst = List.consr(lst, System.getTimerIntervalTime());
print("Derived: " +& realString(List.first(lst)) +& "\n");

System.startTimer();
// resolve type paths
g = FResolve.ty(FGraph.top(g), g);
System.stopTimer();
lst = List.consr(lst, System.getTimerIntervalTime());
print("ComponentTypes: " +& realString(List.first(lst)) +& "\n");

System.startTimer();
// resolve type paths for constrain classes
g = FResolve.cc(FGraph.top(g), g);
System.stopTimer();
lst = List.consr(lst, System.getTimerIntervalTime());
print("ConstrainedBy: " +& realString(List.first(lst)) +& "\n");

System.startTimer();
// resolve class extends nodes
g = FResolve.clsext(FGraph.top(g), g);
System.stopTimer();
lst = List.consr(lst, System.getTimerIntervalTime());
print("ClassExtends: " +& realString(List.first(lst)) +& "\n");

System.startTimer();
// resolve all component references
g = FResolve.cr(FGraph.top(g), g);
Expand All @@ -156,7 +156,7 @@ algorithm
print("FExpand.all: " +& realString(List.fold(lst, realAdd, 0.0)) +& "\n");
then
g;

end match;
end all;

Expand Down

0 comments on commit a4e635a

Please sign in to comment.