Changeset 4bb3ae6c in OpenModelica


Ignore:
Timestamp:
2012-11-15T09:41:27+01:00 (11 years ago)
Author:
Martin Sjölund <martin.sjolund@…>
Branches:
Added-citation-metadata, maintenance/v1.14, maintenance/v1.15, maintenance/v1.16, maintenance/v1.17, maintenance/v1.18, maintenance/v1.19, maintenance/v1.20, maintenance/v1.21, maintenance/v1.22, maintenance/v1.23, master, omlib-staging
Children:
f997c47
Parents:
4658793b
Message:
  • Remove unused ceval call with empty cache and env

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13898 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Compiler/FrontEnd/InstSection.mo

    r55611ee r4bb3ae6c  
    47554755    /* Tuple with rhs constant */
    47564756    case (cache,env,ih,pre,Absyn.TUPLE(expressions = expl),e_1,eprop,_,source,_,impl,_,_)
    4757       equation 
     4757      equation
    47584758        (cache, e_1 as DAE.TUPLE(PR = expl_1), eprop) = Ceval.cevalIfConstant(cache, env, e_1, eprop, impl, info);
    4759         (_,_,_) = Ceval.ceval(Env.emptyCache(),Env.emptyEnv, e_1, false,NONE(), Ceval.MSG(info));
    47604759        (cache,expl_2,cprops,attrs,_) = Static.elabExpCrefNoEvalList(cache,env, expl, impl,NONE(),false,pre,info, Error.getNumErrorMessages());
    47614760        Static.checkAssignmentToInputs(expl, attrs, env, info);
Note: See TracChangeset for help on using the changeset viewer.