X87: [turbofan] Enable tail calls for %_CallRuntime.
authorcdai2 <chunyang.dai@intel.com>
Tue, 7 Jul 2015 01:05:28 +0000 (09:05 +0800)
committercdai2 <chunyang.dai@intel.com>
Tue, 7 Jul 2015 01:05:50 +0000 (01:05 +0000)
commit19e53974c46d41f73f61636be2397b3bc6725375
treeb4429509f4aa9458e5adc182a1dc72fb3e22e547
parentc59da8b96daf759e7b8f7bae2db5216b10ed12ab
X87: [turbofan] Enable tail calls for %_CallRuntime.

port 1fa4285e1ce16cfadf8c40a0993491ec4e2bbbe0 (r29436).

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.

BUG=
R=weiliang.lin@intel.com

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

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