[parrot/parrot] 74055e: [imcc] fix -O2 used_once: keep side-effecting ops ...

GitHub noreply at github.com
Thu Feb 27 04:44:08 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: 74055e5f252bc5863cd8de2701705bbcd327209f
      https://github.com/parrot/parrot/commit/74055e5f252bc5863cd8de2701705bbcd327209f
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-02-26 (Wed, 26 Feb 2014)

  Changed paths:
    M compilers/imcc/imcc.y
    M compilers/imcc/instructions.h
    M compilers/imcc/optimizer.c
    M t/compilers/imcc/reg/alloc.t
    M t/compilers/imcc/reg/spill_old.t
    M t/op/calling.t

  Log Message:
  -----------
  [imcc] fix -O2 used_once: keep side-effecting ops #1036

allow used_once elimination only for purely functional ops
without side-effects.
Fixes t/compilers/imcc/reg/alloc.t test 2 alligator 2 - r9629
      t/compilers/imcc/reg/spill_old.t test 1 bug \#32996
and some more.

set ITPUREFUNC in the parser, as this is the best place to find them:
logical un_op and null; artithmetic bin_op and assign_op


  Commit: 8dc451c3faa7726d527896686c467180ca2e3692
      https://github.com/parrot/parrot/commit/8dc451c3faa7726d527896686c467180ca2e3692
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-02-26 (Wed, 26 Feb 2014)

  Changed paths:
    M ChangeLog

  Log Message:
  -----------
  ChangeLog: add fix for GH #1036


Compare: https://github.com/parrot/parrot/compare/0ff8b803e9be...8dc451c3faa7


More information about the parrot-commits mailing list