[parrot/parrot] 5ee237: [imcc] Fix one more -O2 bug #1041 get_results writ...

GitHub noreply at github.com
Fri Feb 28 00:32:44 UTC 2014


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

  Changed paths:
    M compilers/imcc/instructions.c
    M compilers/imcc/optimizer.c

  Log Message:
  -----------
  [imcc] Fix one more -O2 bug #1041 get_results write

correctly detect get_results writes to a reg.
skip constant propagation then.

There was an old wrong in instruction_writes for exception handling
before get_results. exceptions are now proper PMCs.

Also add more debug prints for -d41 in constant propagation.

Fixes all testO2 testcases but 3:
t/op/exit.t                       (Wstat: 256 Tests: 9 Failed: 1)
  Failed test:  6
  Non-zero exit status: 1
t/op/jitn.t                       (Wstat: 256 Tests: 14 Failed: 1)
  Failed test:  13
  Non-zero exit status: 1
t/pmc/exception-old.t             (Wstat: 256 Tests: 22 Failed: 1)
  Failed test:  19
  Non-zero exit status: 1




More information about the parrot-commits mailing list