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

Side by Side Diff: src/globals.h

Issue 1179763004: X87: enable the X87 turbofan support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « src/compiler/x87/linkage-x87.cc ('k') | src/x87/assembler-x87.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_GLOBALS_H_ 5 #ifndef V8_GLOBALS_H_
6 #define V8_GLOBALS_H_ 6 #define V8_GLOBALS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 14 matching lines...) Expand all
25 #elif V8_LIBC_MSVCRT 25 #elif V8_LIBC_MSVCRT
26 # define V8_INFINITY HUGE_VAL 26 # define V8_INFINITY HUGE_VAL
27 #elif V8_OS_AIX 27 #elif V8_OS_AIX
28 #define V8_INFINITY (__builtin_inff()) 28 #define V8_INFINITY (__builtin_inff())
29 #else 29 #else
30 # define V8_INFINITY INFINITY 30 # define V8_INFINITY INFINITY
31 #endif 31 #endif
32 32
33 #if V8_TARGET_ARCH_IA32 || (V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_32_BIT) || \ 33 #if V8_TARGET_ARCH_IA32 || (V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_32_BIT) || \
34 V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_ARM64 || V8_TARGET_ARCH_MIPS || \ 34 V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_ARM64 || V8_TARGET_ARCH_MIPS || \
35 V8_TARGET_ARCH_MIPS64 || V8_TARGET_ARCH_PPC 35 V8_TARGET_ARCH_MIPS64 || V8_TARGET_ARCH_PPC || V8_TARGET_ARCH_X87
36 #define V8_TURBOFAN_BACKEND 1 36 #define V8_TURBOFAN_BACKEND 1
37 #else 37 #else
38 #define V8_TURBOFAN_BACKEND 0 38 #define V8_TURBOFAN_BACKEND 0
39 #endif 39 #endif
40 #if V8_TURBOFAN_BACKEND 40 #if V8_TURBOFAN_BACKEND
41 #define V8_TURBOFAN_TARGET 1 41 #define V8_TURBOFAN_TARGET 1
42 #else 42 #else
43 #define V8_TURBOFAN_TARGET 0 43 #define V8_TURBOFAN_TARGET 0
44 #endif 44 #endif
45 45
(...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after
996 inline FunctionKind WithObjectLiteralBit(FunctionKind kind) { 996 inline FunctionKind WithObjectLiteralBit(FunctionKind kind) {
997 kind = static_cast<FunctionKind>(kind | FunctionKind::kInObjectLiteral); 997 kind = static_cast<FunctionKind>(kind | FunctionKind::kInObjectLiteral);
998 DCHECK(IsValidFunctionKind(kind)); 998 DCHECK(IsValidFunctionKind(kind));
999 return kind; 999 return kind;
1000 } 1000 }
1001 } } // namespace v8::internal 1001 } } // namespace v8::internal
1002 1002
1003 namespace i = v8::internal; 1003 namespace i = v8::internal;
1004 1004
1005 #endif // V8_GLOBALS_H_ 1005 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/compiler/x87/linkage-x87.cc ('k') | src/x87/assembler-x87.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698