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

Side by Side Diff: src/globals.h

Issue 941753003: Version 4.2.73.1 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@4.2.73
Patch Set: Created 5 years, 10 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/factory.cc ('k') | src/heap/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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 #define V8_DEFAULT_STACK_SIZE_KB 864 82 #define V8_DEFAULT_STACK_SIZE_KB 864
83 #else 83 #else
84 // Slightly less than 1MB, since Windows' default stack size for 84 // Slightly less than 1MB, since Windows' default stack size for
85 // the main execution thread is 1MB for both 32 and 64-bit. 85 // the main execution thread is 1MB for both 32 and 64-bit.
86 #define V8_DEFAULT_STACK_SIZE_KB 984 86 #define V8_DEFAULT_STACK_SIZE_KB 984
87 #endif 87 #endif
88 88
89 89
90 // Determine whether double field unboxing feature is enabled. 90 // Determine whether double field unboxing feature is enabled.
91 #if V8_TARGET_ARCH_64_BIT 91 #if V8_TARGET_ARCH_64_BIT
92 #define V8_DOUBLE_FIELDS_UNBOXING 1 92 #define V8_DOUBLE_FIELDS_UNBOXING 0
93 #else 93 #else
94 #define V8_DOUBLE_FIELDS_UNBOXING 0 94 #define V8_DOUBLE_FIELDS_UNBOXING 0
95 #endif 95 #endif
96 96
97 97
98 typedef uint8_t byte; 98 typedef uint8_t byte;
99 typedef byte* Address; 99 typedef byte* Address;
100 100
101 // ----------------------------------------------------------------------------- 101 // -----------------------------------------------------------------------------
102 // Constants 102 // Constants
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 DCHECK(IsValidFunctionKind(kind)); 889 DCHECK(IsValidFunctionKind(kind));
890 return kind & 890 return kind &
891 (FunctionKind::kBaseConstructor | FunctionKind::kSubclassConstructor | 891 (FunctionKind::kBaseConstructor | FunctionKind::kSubclassConstructor |
892 FunctionKind::kDefaultConstructor); 892 FunctionKind::kDefaultConstructor);
893 } 893 }
894 } } // namespace v8::internal 894 } } // namespace v8::internal
895 895
896 namespace i = v8::internal; 896 namespace i = v8::internal;
897 897
898 #endif // V8_GLOBALS_H_ 898 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698