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

Side by Side Diff: src/globals.h

Issue 866843003: Contribution of PowerPC port (continuation of 422063005) - AIX Common1 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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
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 20 matching lines...) Expand all
31 V8_TARGET_ARCH_MIPS64 || V8_TARGET_ARCH_PPC 31 V8_TARGET_ARCH_MIPS64 || V8_TARGET_ARCH_PPC
32 #define V8_TURBOFAN_BACKEND 1 32 #define V8_TURBOFAN_BACKEND 1
33 #else 33 #else
34 #define V8_TURBOFAN_BACKEND 0 34 #define V8_TURBOFAN_BACKEND 0
35 #endif 35 #endif
36 #if V8_TURBOFAN_BACKEND 36 #if V8_TURBOFAN_BACKEND
37 #define V8_TURBOFAN_TARGET 1 37 #define V8_TURBOFAN_TARGET 1
38 #else 38 #else
39 #define V8_TURBOFAN_TARGET 0 39 #define V8_TURBOFAN_TARGET 0
40 #endif 40 #endif
41 #if V8_OS_AIX
42 #undef V8_INFINITY
Sven Panne 2015/01/27 11:47:06 No #undef, please, move this up to the place where
michael_dawson 2015/01/29 00:08:29 Will do
43 #define V8_INFINITY (__builtin_inff())
44 #endif
41 45
42 namespace v8 { 46 namespace v8 {
43 47
44 namespace base { 48 namespace base {
45 class Mutex; 49 class Mutex;
46 class RecursiveMutex; 50 class RecursiveMutex;
47 class VirtualMemory; 51 class VirtualMemory;
48 } 52 }
49 53
50 namespace internal { 54 namespace internal {
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 DCHECK(IsValidFunctionKind(kind)); 819 DCHECK(IsValidFunctionKind(kind));
816 return kind & FunctionKind::kDefaultConstructor; 820 return kind & FunctionKind::kDefaultConstructor;
817 } 821 }
818 822
819 823
820 } } // namespace v8::internal 824 } } // namespace v8::internal
821 825
822 namespace i = v8::internal; 826 namespace i = v8::internal;
823 827
824 #endif // V8_GLOBALS_H_ 828 #endif // V8_GLOBALS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698