Skip to content

Commit

Permalink
- Use traverseExp in CevalFunction.optimizeExp to traverse all expres…
Browse files Browse the repository at this point in the history
…sions.

- Use the cache in CevalFunction.
- Updated parser/ParseCompilerSources test.


git-svn-id: https://openmodelica.org/svn/OpenModelica/branches/sjoelund-functiontree@6885 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed Nov 4, 2010
1 parent 14f9461 commit 7b43eea
Show file tree
Hide file tree
Showing 3 changed files with 2,714 additions and 2,579 deletions.
2 changes: 1 addition & 1 deletion Compiler/Ceval.mo
Expand Up @@ -1215,7 +1215,7 @@ algorithm
sc,
{});
func = Env.getCachedInstFunc(cache, funcpath);
newval = CevalFunction.evaluate(env, func, vallst);
(cache, newval) = CevalFunction.evaluate(cache, env, func, vallst);
then
(cache, newval, st);

Expand Down

0 comments on commit 7b43eea

Please sign in to comment.