[turbofan] Add basic support for calling to (a subset of) C functions.
authorBenedikt Meurer <bmeurer@chromium.org>
Thu, 25 Jun 2015 08:32:06 +0000 (10:32 +0200)
committerBenedikt Meurer <bmeurer@chromium.org>
Thu, 25 Jun 2015 08:32:32 +0000 (08:32 +0000)
commita58ba8d80179bf5b6b7245590c82e47fda8c8a5e
tree1de9dc5b30c5910ad3f74cee5305c2dd8a50d0de
parent112f1973415bba4a6afc887a009fabe5bb4ba236
[turbofan] Add basic support for calling to (a subset of) C functions.

This introduces some initial building blocks for calling out to
C/C++ functions directly from TurboFan generated code objects.

R=svenpanne@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#29279}
30 files changed:
src/compiler/arm/code-generator-arm.cc
src/compiler/arm/instruction-codes-arm.h
src/compiler/arm/instruction-selector-arm.cc
src/compiler/arm/linkage-arm.cc
src/compiler/arm64/code-generator-arm64.cc
src/compiler/arm64/instruction-selector-arm64.cc
src/compiler/arm64/linkage-arm64.cc
src/compiler/code-generator-impl.h
src/compiler/code-generator.cc
src/compiler/ia32/code-generator-ia32.cc
src/compiler/ia32/instruction-codes-ia32.h
src/compiler/ia32/instruction-selector-ia32.cc
src/compiler/ia32/linkage-ia32.cc
src/compiler/instruction-codes.h
src/compiler/instruction-selector.cc
src/compiler/linkage-impl.h
src/compiler/linkage.h
src/compiler/mips/code-generator-mips.cc
src/compiler/mips/instruction-selector-mips.cc
src/compiler/mips/linkage-mips.cc
src/compiler/mips64/code-generator-mips64.cc
src/compiler/mips64/instruction-selector-mips64.cc
src/compiler/mips64/linkage-mips64.cc
src/compiler/x64/code-generator-x64.cc
src/compiler/x64/instruction-codes-x64.h
src/compiler/x64/instruction-selector-x64.cc
src/compiler/x64/linkage-x64.cc
test/cctest/compiler/test-run-machops.cc
test/unittests/compiler/raw-machine-assembler.cc
test/unittests/compiler/raw-machine-assembler.h