PPC: [turbofan] Enable tail calls for %_CallRuntime.
authormbrandy <mbrandy@us.ibm.com>
Thu, 2 Jul 2015 15:50:56 +0000 (08:50 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 2 Jul 2015 15:51:11 +0000 (15:51 +0000)
commit69247871054927a33bb893604a272cbdb426f180
treec050cbad7e93f70e02a5ac89b172bf73f4b9e967
parentebadb68f02ee5413b77924876f0621d2fb0aa108
PPC: [turbofan] Enable tail calls for %_CallRuntime.

Port 1fa4285e1ce16cfadf8c40a0993491ec4e2bbbe0

Original commit message:
    This involves:
    - Enabling the tail call optimization reducer in all cases.
    - Adding an addition flag to CallFunctionParameters to mark call sites
      that can be tail-called enabled.
    - Only set the tail-call flag for %_CallFunction.

R=danno@chromium.org, dstence@us.ibm.com, michael_dawson@ca.ibm.com
BUG=

Review URL: https://codereview.chromium.org/1224533002

Cr-Commit-Position: refs/heads/master@{#29453}
src/compiler/ppc/code-generator-ppc.cc
src/compiler/ppc/instruction-selector-ppc.cc