analyzer/tests/mingwmake.bat
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 16 Jun 2015 06:45:26 +0100
changeset 489 0ca7a70db0f5
parent 272 d472a0771cc5
child 502 1e45d3c96ec5
permissions -rw-r--r--
Fix in codegen for inlined sequence nodes. For inlined sequence nodes, generate nested ifs rather than sequential code which does not work when inlined. The reason is that #codeReturn: in inline generates instvar assignment, not method return, so in sequential code the next child of a sequence will be probed even if previous failed. If that happends, the whole sequence fail and therefore we must generate nested ifs to correctly handle this w.r.t. inlining.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
272
d472a0771cc5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
@REM -------
d472a0771cc5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
@REM make using mingw gnu compiler
d472a0771cc5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
@REM type mingwmake, and wait...
d472a0771cc5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
@REM do not edit - automatically generated from ProjectDefinition
d472a0771cc5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
@REM -------
d472a0771cc5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
@SET DEFINES=
d472a0771cc5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
@REM Kludge got Mercurial, cannot be implemented in Borland make
d472a0771cc5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
@FOR /F "tokens=*" %%i in ('hg root') do SET HGROOT=%%i
d472a0771cc5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
@IF "%HGROOT%" NEQ "" SET DEFINES=%DEFINES% "-DHGROOT=%HGROOT%"
d472a0771cc5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
d472a0771cc5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
@pushd ..\..\..\..\rules
d472a0771cc5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
@call find_mingw.bat
d472a0771cc5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
@popd
d472a0771cc5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
make.exe -N -f bc.mak %DEFINES% %USEMINGW_ARG% %*
d472a0771cc5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
d472a0771cc5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16