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

Side by Side Diff: src/globals.h

Issue 371923006: Add mips64 port. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/gdb-jit.cc ('k') | src/heap.cc » ('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 "include/v8stdint.h" 8 #include "include/v8stdint.h"
9 9
10 #include "src/base/build_config.h" 10 #include "src/base/build_config.h"
(...skipping 30 matching lines...) Expand all
41 #if !defined(USE_SIMULATOR) 41 #if !defined(USE_SIMULATOR)
42 #if (V8_TARGET_ARCH_ARM64 && !V8_HOST_ARCH_ARM64) 42 #if (V8_TARGET_ARCH_ARM64 && !V8_HOST_ARCH_ARM64)
43 #define USE_SIMULATOR 1 43 #define USE_SIMULATOR 1
44 #endif 44 #endif
45 #if (V8_TARGET_ARCH_ARM && !V8_HOST_ARCH_ARM) 45 #if (V8_TARGET_ARCH_ARM && !V8_HOST_ARCH_ARM)
46 #define USE_SIMULATOR 1 46 #define USE_SIMULATOR 1
47 #endif 47 #endif
48 #if (V8_TARGET_ARCH_MIPS && !V8_HOST_ARCH_MIPS) 48 #if (V8_TARGET_ARCH_MIPS && !V8_HOST_ARCH_MIPS)
49 #define USE_SIMULATOR 1 49 #define USE_SIMULATOR 1
50 #endif 50 #endif
51 #if (V8_TARGET_ARCH_MIPS64 && !V8_HOST_ARCH_MIPS64)
52 #define USE_SIMULATOR 1
53 #endif
51 #endif 54 #endif
52 55
53 // Determine whether the architecture uses an out-of-line constant pool. 56 // Determine whether the architecture uses an out-of-line constant pool.
54 #define V8_OOL_CONSTANT_POOL 0 57 #define V8_OOL_CONSTANT_POOL 0
55 58
56 // Support for alternative bool type. This is only enabled if the code is 59 // Support for alternative bool type. This is only enabled if the code is
57 // compiled with USE_MYBOOL defined. This catches some nasty type bugs. 60 // compiled with USE_MYBOOL defined. This catches some nasty type bugs.
58 // For instance, 'bool b = "false";' results in b == true! This is a hidden 61 // For instance, 'bool b = "false";' results in b == true! This is a hidden
59 // source of bugs. 62 // source of bugs.
60 // However, redefining the bool type does have some negative impact on some 63 // However, redefining the bool type does have some negative impact on some
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 enum MinusZeroMode { 725 enum MinusZeroMode {
723 TREAT_MINUS_ZERO_AS_ZERO, 726 TREAT_MINUS_ZERO_AS_ZERO,
724 FAIL_ON_MINUS_ZERO 727 FAIL_ON_MINUS_ZERO
725 }; 728 };
726 729
727 } } // namespace v8::internal 730 } } // namespace v8::internal
728 731
729 namespace i = v8::internal; 732 namespace i = v8::internal;
730 733
731 #endif // V8_GLOBALS_H_ 734 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/gdb-jit.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698