[turbofan] Factor C call descriptor building into compiler/c-linkage.cc.
authortitzer <titzer@chromium.org>
Thu, 30 Jul 2015 12:36:15 +0000 (05:36 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 30 Jul 2015 12:36:29 +0000 (12:36 +0000)
commitc215c9569ee362bdd4b151499b6c5f5822bb4e45
treee67afc95b7bb6643b6c7da3484be89f081c15f97
parent66f540c0738ce770359232f0bafdd9cb099d6569
[turbofan] Factor C call descriptor building into compiler/c-linkage.cc.

This is the first step in cutting the Gordian linkage/linkage-impl knot.

This basically changes the axis along which we organize call descriptor
building logic from having platform-specific files dedicated to all call
descriptor types to having call-descriptor-type-specific files that have

The next step is to factor the JS, code stub, and runtime call descriptors
similarly, dumping them into:
  compiler/js-linkage.cc
  compiler/runtime-linkage.cc
  compiler/code-stub-linkage.cc

 or, alternatively, all of them just into compiler/js-linkage.cc.

This also anticipates a wasm-linkage.cc file in the future.

R=bmeurer@chromium.org,danno@chromium.org
BUG=

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

Cr-Commit-Position: refs/heads/master@{#29931}
12 files changed:
src/compiler/arm/linkage-arm.cc
src/compiler/arm64/linkage-arm64.cc
src/compiler/c-linkage.cc [new file with mode: 0644]
src/compiler/ia32/linkage-ia32.cc
src/compiler/linkage-impl.h
src/compiler/linkage.cc
src/compiler/mips/linkage-mips.cc
src/compiler/mips64/linkage-mips64.cc
src/compiler/ppc/linkage-ppc.cc
src/compiler/x64/linkage-x64.cc
src/compiler/x87/linkage-x87.cc
tools/gyp/v8.gyp