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 912673003: Revert of Temporarily disable double fields unboxing. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
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 | « no previous file | no next file » | 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 0 92 #define V8_DOUBLE_FIELDS_UNBOXING 1
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 734 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 837
838 inline bool IsSubclassConstructor(FunctionKind kind) { 838 inline bool IsSubclassConstructor(FunctionKind kind) {
839 DCHECK(IsValidFunctionKind(kind)); 839 DCHECK(IsValidFunctionKind(kind));
840 return kind & FunctionKind::kSubclassConstructor; 840 return kind & FunctionKind::kSubclassConstructor;
841 } 841 }
842 } } // namespace v8::internal 842 } } // namespace v8::internal
843 843
844 namespace i = v8::internal; 844 namespace i = v8::internal;
845 845
846 #endif // V8_GLOBALS_H_ 846 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698