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

Side by Side Diff: src/globals.h

Issue 1783483002: [interpreter] Add support for scalable operands. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Re-generate golden files. Created 4 years, 9 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/debug/debug.cc ('k') | src/interpreter/bytecode-array-builder.h » ('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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 const int kMaxInt8 = (1 << 7) - 1; 106 const int kMaxInt8 = (1 << 7) - 1;
107 const int kMinInt8 = -(1 << 7); 107 const int kMinInt8 = -(1 << 7);
108 const int kMaxUInt8 = (1 << 8) - 1; 108 const int kMaxUInt8 = (1 << 8) - 1;
109 const int kMinUInt8 = 0; 109 const int kMinUInt8 = 0;
110 const int kMaxInt16 = (1 << 15) - 1; 110 const int kMaxInt16 = (1 << 15) - 1;
111 const int kMinInt16 = -(1 << 15); 111 const int kMinInt16 = -(1 << 15);
112 const int kMaxUInt16 = (1 << 16) - 1; 112 const int kMaxUInt16 = (1 << 16) - 1;
113 const int kMinUInt16 = 0; 113 const int kMinUInt16 = 0;
114 114
115 const uint32_t kMaxUInt32 = 0xFFFFFFFFu; 115 const uint32_t kMaxUInt32 = 0xFFFFFFFFu;
116 const int kMinUInt32 = 0;
116 117
117 const int kCharSize = sizeof(char); // NOLINT 118 const int kCharSize = sizeof(char); // NOLINT
118 const int kShortSize = sizeof(short); // NOLINT 119 const int kShortSize = sizeof(short); // NOLINT
119 const int kIntSize = sizeof(int); // NOLINT 120 const int kIntSize = sizeof(int); // NOLINT
120 const int kInt32Size = sizeof(int32_t); // NOLINT 121 const int kInt32Size = sizeof(int32_t); // NOLINT
121 const int kInt64Size = sizeof(int64_t); // NOLINT 122 const int kInt64Size = sizeof(int64_t); // NOLINT
122 const int kFloatSize = sizeof(float); // NOLINT 123 const int kFloatSize = sizeof(float); // NOLINT
123 const int kDoubleSize = sizeof(double); // NOLINT 124 const int kDoubleSize = sizeof(double); // NOLINT
124 const int kIntptrSize = sizeof(intptr_t); // NOLINT 125 const int kIntptrSize = sizeof(intptr_t); // NOLINT
125 const int kPointerSize = sizeof(void*); // NOLINT 126 const int kPointerSize = sizeof(void*); // NOLINT
(...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after
1028 return static_cast<uint32_t>(bit_cast<uintptr_t>(address) >> 1029 return static_cast<uint32_t>(bit_cast<uintptr_t>(address) >>
1029 kPointerSizeLog2); 1030 kPointerSizeLog2);
1030 } 1031 }
1031 1032
1032 } // namespace internal 1033 } // namespace internal
1033 } // namespace v8 1034 } // namespace v8
1034 1035
1035 namespace i = v8::internal; 1036 namespace i = v8::internal;
1036 1037
1037 #endif // V8_GLOBALS_H_ 1038 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/debug/debug.cc ('k') | src/interpreter/bytecode-array-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698