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

Side by Side Diff: src/types.h

Issue 797903003: [turbofan] Various cleanups. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years 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/compiler/pipeline.cc ('k') | test/cctest/compiler/test-js-typed-lowering.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_TYPES_H_ 5 #ifndef V8_TYPES_H_
6 #define V8_TYPES_H_ 6 #define V8_TYPES_H_
7 7
8 #include "src/conversions.h" 8 #include "src/conversions.h"
9 #include "src/factory.h" 9 #include "src/factory.h"
10 #include "src/handles.h" 10 #include "src/handles.h"
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 V(UniqueName, kSymbol | kInternalizedString) \ 224 V(UniqueName, kSymbol | kInternalizedString) \
225 V(Name, kSymbol | kString) \ 225 V(Name, kSymbol | kString) \
226 V(NumberOrString, kNumber | kString) \ 226 V(NumberOrString, kNumber | kString) \
227 V(PlainPrimitive, kNumberOrString | kBoolean | kNull | kUndefined) \ 227 V(PlainPrimitive, kNumberOrString | kBoolean | kNull | kUndefined) \
228 V(Primitive, kSymbol | kPlainPrimitive) \ 228 V(Primitive, kSymbol | kPlainPrimitive) \
229 V(DetectableObject, kArray | kOtherObject) \ 229 V(DetectableObject, kArray | kOtherObject) \
230 V(DetectableReceiver, kDetectableObject | kProxy) \ 230 V(DetectableReceiver, kDetectableObject | kProxy) \
231 V(Detectable, kDetectableReceiver | kNumber | kName) \ 231 V(Detectable, kDetectableReceiver | kNumber | kName) \
232 V(Object, kDetectableObject | kUndetectable) \ 232 V(Object, kDetectableObject | kUndetectable) \
233 V(Receiver, kObject | kProxy) \ 233 V(Receiver, kObject | kProxy) \
234 V(StringOrReceiver, kString | kReceiver) \
234 V(Unique, kBoolean | kUniqueName | kNull | kUndefined | \ 235 V(Unique, kBoolean | kUniqueName | kNull | kUndefined | \
235 kReceiver) \ 236 kReceiver) \
236 V(NonNumber, kUnique | kString | kInternal) \ 237 V(NonNumber, kUnique | kString | kInternal) \
237 V(Any, 0xfffffffeu) 238 V(Any, 0xfffffffeu)
238 239
239 240
240 /* 241 /*
241 * The following diagrams show how integers (in the mathematical sense) are 242 * The following diagrams show how integers (in the mathematical sense) are
242 * divided among the different atomic numerical types. 243 * divided among the different atomic numerical types.
243 * 244 *
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 bool Narrows(BoundsImpl that) { 1093 bool Narrows(BoundsImpl that) {
1093 return that.lower->Is(this->lower) && this->upper->Is(that.upper); 1094 return that.lower->Is(this->lower) && this->upper->Is(that.upper);
1094 } 1095 }
1095 }; 1096 };
1096 1097
1097 typedef BoundsImpl<ZoneTypeConfig> Bounds; 1098 typedef BoundsImpl<ZoneTypeConfig> Bounds;
1098 1099
1099 } } // namespace v8::internal 1100 } } // namespace v8::internal
1100 1101
1101 #endif // V8_TYPES_H_ 1102 #endif // V8_TYPES_H_
OLDNEW
« no previous file with comments | « src/compiler/pipeline.cc ('k') | test/cctest/compiler/test-js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698