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

Side by Side Diff: src/globals.h

Issue 928733003: 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 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 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 DCHECK(IsValidFunctionKind(kind)); 886 DCHECK(IsValidFunctionKind(kind));
887 return kind & 887 return kind &
888 (FunctionKind::kBaseConstructor | FunctionKind::kSubclassConstructor | 888 (FunctionKind::kBaseConstructor | FunctionKind::kSubclassConstructor |
889 FunctionKind::kDefaultConstructor); 889 FunctionKind::kDefaultConstructor);
890 } 890 }
891 } } // namespace v8::internal 891 } } // namespace v8::internal
892 892
893 namespace i = v8::internal; 893 namespace i = v8::internal;
894 894
895 #endif // V8_GLOBALS_H_ 895 #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