• mark@chromium.org's avatar
    Allow build-time selection between ia32 and x86_64 in the GYP/Xcode Mac · e9b5d785
    mark@chromium.org authored
    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)
    Review URL: http://codereview.chromium.org/2133003
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4666 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    e9b5d785
codegen-mips.cc 38.8 KB