Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: src/globals.h

Issue 21243004: Revert target arch detection. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/globals.h
diff --git a/src/globals.h b/src/globals.h
index c380103febc1b2a0a96453087147d7fcddc0adf9..a59866d426ce215a915b94767ce9ed0abdd31799 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -216,13 +216,13 @@
#if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_IA32 && \
!V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS
-# if V8_HOST_ARCH_X64
+# if defined(_M_X64) || defined(__x86_64__)
# define V8_TARGET_ARCH_X64 1
-# elif V8_HOST_ARCH_IA32
+# elif defined(_M_IX86) || defined(__i386__)
# define V8_TARGET_ARCH_IA32 1
-# elif V8_HOST_ARCH_ARM
+# elif defined(__ARMEL__)
# define V8_TARGET_ARCH_ARM 1
-# elif V8_HOST_ARCH_MIPS
+# elif defined(__MIPSEL__)
# define V8_TARGET_ARCH_MIPS 1
# else
# error Target architecture was not detected as supported by v8
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698