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

Side by Side Diff: src/globals.h

Issue 325343003: Revert "Rename kIs64BitArch with kRequiresCodeRange." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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/api.cc ('k') | src/spaces.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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 const int kRegisterSize = kPointerSize; 146 const int kRegisterSize = kPointerSize;
147 const int kPCOnStackSize = kRegisterSize; 147 const int kPCOnStackSize = kRegisterSize;
148 const int kFPOnStackSize = kRegisterSize; 148 const int kFPOnStackSize = kRegisterSize;
149 149
150 const int kDoubleSizeLog2 = 3; 150 const int kDoubleSizeLog2 = 3;
151 151
152 #if V8_HOST_ARCH_64_BIT 152 #if V8_HOST_ARCH_64_BIT
153 const int kPointerSizeLog2 = 3; 153 const int kPointerSizeLog2 = 3;
154 const intptr_t kIntptrSignBit = V8_INT64_C(0x8000000000000000); 154 const intptr_t kIntptrSignBit = V8_INT64_C(0x8000000000000000);
155 const uintptr_t kUintptrAllBitsSet = V8_UINT64_C(0xFFFFFFFFFFFFFFFF); 155 const uintptr_t kUintptrAllBitsSet = V8_UINT64_C(0xFFFFFFFFFFFFFFFF);
156 const bool kRequiresCodeRange = true; 156 const bool kIs64BitArch = true;
157 const int kMaximalCodeRangeSize = 512 * MB;
158 #else 157 #else
159 const int kPointerSizeLog2 = 2; 158 const int kPointerSizeLog2 = 2;
160 const intptr_t kIntptrSignBit = 0x80000000; 159 const intptr_t kIntptrSignBit = 0x80000000;
161 const uintptr_t kUintptrAllBitsSet = 0xFFFFFFFFu; 160 const uintptr_t kUintptrAllBitsSet = 0xFFFFFFFFu;
162 const bool kRequiresCodeRange = false; 161 const bool kIs64BitArch = false;
163 const int kMaximalCodeRangeSize = 0 * MB;
164 #endif 162 #endif
165 163
166 const int kBitsPerByte = 8; 164 const int kBitsPerByte = 8;
167 const int kBitsPerByteLog2 = 3; 165 const int kBitsPerByteLog2 = 3;
168 const int kBitsPerPointer = kPointerSize * kBitsPerByte; 166 const int kBitsPerPointer = kPointerSize * kBitsPerByte;
169 const int kBitsPerInt = kIntSize * kBitsPerByte; 167 const int kBitsPerInt = kIntSize * kBitsPerByte;
170 168
171 // IEEE 754 single precision floating point number bit layout. 169 // IEEE 754 single precision floating point number bit layout.
172 const uint32_t kBinary32SignMask = 0x80000000u; 170 const uint32_t kBinary32SignMask = 0x80000000u;
173 const uint32_t kBinary32ExponentMask = 0x7f800000u; 171 const uint32_t kBinary32ExponentMask = 0x7f800000u;
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
759 enum MinusZeroMode { 757 enum MinusZeroMode {
760 TREAT_MINUS_ZERO_AS_ZERO, 758 TREAT_MINUS_ZERO_AS_ZERO,
761 FAIL_ON_MINUS_ZERO 759 FAIL_ON_MINUS_ZERO
762 }; 760 };
763 761
764 } } // namespace v8::internal 762 } } // namespace v8::internal
765 763
766 namespace i = v8::internal; 764 namespace i = v8::internal;
767 765
768 #endif // V8_GLOBALS_H_ 766 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/spaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698