| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_BASE_BUILD_CONFIG_H_ | 5 #ifndef V8_BASE_BUILD_CONFIG_H_ |
| 6 #define V8_BASE_BUILD_CONFIG_H_ | 6 #define V8_BASE_BUILD_CONFIG_H_ |
| 7 | 7 |
| 8 #include "../../include/v8config.h" | 8 #include "include/v8config.h" |
| 9 | 9 |
| 10 // Processor architecture detection. For more info on what's defined, see: | 10 // Processor architecture detection. For more info on what's defined, see: |
| 11 // http://msdn.microsoft.com/en-us/library/b0084kay.aspx | 11 // http://msdn.microsoft.com/en-us/library/b0084kay.aspx |
| 12 // http://www.agner.org/optimize/calling_conventions.pdf | 12 // http://www.agner.org/optimize/calling_conventions.pdf |
| 13 // or with gcc, run: "echo | gcc -E -dM -" | 13 // or with gcc, run: "echo | gcc -E -dM -" |
| 14 #if defined(_M_X64) || defined(__x86_64__) | 14 #if defined(_M_X64) || defined(__x86_64__) |
| 15 #if defined(__native_client__) | 15 #if defined(__native_client__) |
| 16 // For Native Client builds of V8, use V8_TARGET_ARCH_ARM, so that V8 | 16 // For Native Client builds of V8, use V8_TARGET_ARCH_ARM, so that V8 |
| 17 // generates ARM machine code, together with a portable ARM simulator | 17 // generates ARM machine code, together with a portable ARM simulator |
| 18 // compiled for the host architecture in question. | 18 // compiled for the host architecture in question. |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 #define V8_TARGET_LITTLE_ENDIAN 1 | 111 #define V8_TARGET_LITTLE_ENDIAN 1 |
| 112 #else | 112 #else |
| 113 #error Unknown target architecture endianness | 113 #error Unknown target architecture endianness |
| 114 #endif | 114 #endif |
| 115 | 115 |
| 116 #if V8_OS_MACOSX || defined(__FreeBSD__) || defined(__OpenBSD__) | 116 #if V8_OS_MACOSX || defined(__FreeBSD__) || defined(__OpenBSD__) |
| 117 #define USING_BSD_ABI | 117 #define USING_BSD_ABI |
| 118 #endif | 118 #endif |
| 119 | 119 |
| 120 #endif // V8_BASE_BUILD_CONFIG_H_ | 120 #endif // V8_BASE_BUILD_CONFIG_H_ |
| OLD | NEW |