Skip to content

Commit

Permalink
- cheat the dependency analysis to get non-separate bootstrapping com…
Browse files Browse the repository at this point in the history
…pilation working.

- how did it worked before??!!

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@19977 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Apr 4, 2014
1 parent 873860c commit a66c321
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Compiler/Main/Main.mo
Expand Up @@ -1022,6 +1022,12 @@ algorithm
// call GC_init() the first thing we do!
System.initGarbageCollector();
Global.initialize();

// cheat the function generation that this function is used
// this is needed because this function is used in the parser
// for the bootstrapped compiler
_ = Absyn.isDerCref(Absyn.INTEGER(0));

System.realtimeTick(GlobalScript.RT_CLOCK_SIMULATE_TOTAL);
args_1 = Flags.new(args);
System.gettextInit(Util.if_(Config.getRunningTestsuite(),"C",Flags.getConfigString(Flags.LOCALE_FLAG)));
Expand Down

0 comments on commit a66c321

Please sign in to comment.