[parrot/parrot] ab85ca: [imcc] fix more -O2 errors, found but empty => del...

GitHub noreply at github.com
Thu Feb 27 21:52:53 UTC 2014


  Branch: refs/heads/rurban/imccO2
  Home:   https://github.com/parrot/parrot
  Commit: ab85cac847e69b29a5f66442e6fd2f7b48756892
      https://github.com/parrot/parrot/commit/ab85cac847e69b29a5f66442e6fd2f7b48756892
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    M compilers/imcc/optimizer.c

  Log Message:
  -----------
  [imcc] fix more -O2 errors, found but empty => delete ins

On some constant propagation on (mostly arithmetic or param) ops,
the ins can be safely deleted. GH #1039

This fixed:
t/compilers/imcc/syn/macro.t 10-11
t/pmc/io.t 13-14
t/op/lexicals.t 42

but broke: t/pmc/exception-old.t 19




More information about the parrot-commits mailing list