Introduce two separate classes of processor detection:
authordeanm@chromium.org <deanm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 5 May 2009 12:06:20 +0000 (12:06 +0000)
committerdeanm@chromium.org <deanm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 5 May 2009 12:06:20 +0000 (12:06 +0000)
commit2b56660a8bf94e0e989bf3b22c1371e6a1d0a2ef
treefa8adfadfcc8517f620ecb174a9bda0a19298c99
parentb11b61c4c000f91539a11b82e51866a9c5d3d056
Introduce two separate classes of processor detection:
- TARGET, the architecture we will generate code for.
  This is brought it from the build system.
- HOST, the architecture our C++ compiler is building for.
  This is detected automatically based on compiler defines.

This adds macros for 32 or 64 bit, and cleans up some
include conditionals, etc.

Review URL: http://codereview.chromium.org/99355

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1864 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
16 files changed:
SConstruct
src/codegen.h
src/execution.cc
src/frames-inl.h
src/globals.h
src/jsregexp.cc
src/jsregexp.h
src/macro-assembler.h
src/objects.cc
src/utils.h
src/virtual-frame.h
test/cctest/test-regexp.cc
tools/gyp/v8.gyp
tools/v8.xcodeproj/project.pbxproj
tools/visual_studio/arm.vsprops
tools/visual_studio/ia32.vsprops