Reviewers: iposva,
Message:
Most of this, except for the very last file, is mechanical.
The #ifdef guards all follow the same V8_TARGET_ARCH_* scheme, except the
choice
between src/arm/assembler-{arm|thumb2}.cc is handled by checking
V8_ARM_VARIANT_* in addition to V8_TARGET_ARCH_ARM.
Description:
Allow build-time selection between ia32 and x86_64 in the GYP/Xcode Mac
Chromium build.
v8.gyp no longer sets any V8_TARGET_ARCH_* macro on the Mac. Instead, the
proper V8_TARGET_ARCH_* macro will be set by src/globals.h in the same way
as
the V8_HOST_ARCH_* macro when it detects that no target macro is currently
defined. The Mac build will attempt to compile all ia32 and x86_64 .cc
files.
#ifdef guards in each of these target-specific source files prevent their
compilation when the associated target is not selected. For completeness,
these #ifdef guards are also provided for the arm and mips .cc files.
BUG=706
TEST=x86_64 Mac GYP/Xcode-based Chromium build (still depends on other
changes)
Please review this at http://codereview.chromium.org/2133003/show
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/arm/assembler-arm.cc
M src/arm/assembler-thumb2.cc
M src/arm/builtins-arm.cc
M src/arm/codegen-arm.cc
M src/arm/constants-arm.cc
M src/arm/cpu-arm.cc
M src/arm/debug-arm.cc
M src/arm/disasm-arm.cc
M src/arm/fast-codegen-arm.cc
M src/arm/frames-arm.cc
M src/arm/full-codegen-arm.cc
M src/arm/ic-arm.cc
M src/arm/jump-target-arm.cc
M src/arm/macro-assembler-arm.cc
M src/arm/regexp-macro-assembler-arm.cc
M src/arm/register-allocator-arm.cc
M src/arm/simulator-arm.cc
M src/arm/stub-cache-arm.cc
M src/arm/virtual-frame-arm.cc
M src/globals.h
M src/ia32/assembler-ia32.cc
M src/ia32/builtins-ia32.cc
M src/ia32/codegen-ia32.cc
M src/ia32/cpu-ia32.cc
M src/ia32/debug-ia32.cc
M src/ia32/disasm-ia32.cc
M src/ia32/fast-codegen-ia32.cc
M src/ia32/frames-ia32.cc
M src/ia32/full-codegen-ia32.cc
M src/ia32/ic-ia32.cc
M src/ia32/jump-target-ia32.cc
M src/ia32/macro-assembler-ia32.cc
M src/ia32/regexp-macro-assembler-ia32.cc
M src/ia32/register-allocator-ia32.cc
M src/ia32/stub-cache-ia32.cc
M src/ia32/virtual-frame-ia32.cc
M src/mips/assembler-mips.cc
M src/mips/builtins-mips.cc
M src/mips/codegen-mips.cc
M src/mips/constants-mips.cc
M src/mips/cpu-mips.cc
M src/mips/debug-mips.cc
M src/mips/disasm-mips.cc
M src/mips/fast-codegen-mips.cc
M src/mips/frames-mips.cc
M src/mips/full-codegen-mips.cc
M src/mips/ic-mips.cc
M src/mips/jump-target-mips.cc
M src/mips/macro-assembler-mips.cc
M src/mips/register-allocator-mips.cc
M src/mips/simulator-mips.cc
M src/mips/stub-cache-mips.cc
M src/mips/virtual-frame-mips.cc
M src/x64/assembler-x64.cc
M src/x64/builtins-x64.cc
M src/x64/codegen-x64.cc
M src/x64/cpu-x64.cc
M src/x64/debug-x64.cc
M src/x64/disasm-x64.cc
M src/x64/fast-codegen-x64.cc
M src/x64/frames-x64.cc
M src/x64/full-codegen-x64.cc
M src/x64/ic-x64.cc
M src/x64/jump-target-x64.cc
M src/x64/macro-assembler-x64.cc
M src/x64/regexp-macro-assembler-x64.cc
M src/x64/register-allocator-x64.cc
M src/x64/stub-cache-x64.cc
M src/x64/virtual-frame-x64.cc
M tools/gyp/v8.gyp
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev