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

Side by Side Diff: src/types.h

Issue 2066223002: [turbofan] Introduce CheckHole and CheckHoleNaN operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
« src/compiler/opcodes.h ('K') | « src/compiler/verifier.cc ('k') | 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 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/handles.h" 9 #include "src/handles.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 V(NumberOrString, kNumber | kString) \ 224 V(NumberOrString, kNumber | kString) \
225 V(NumberOrUndefined, kNumber | kUndefined) \ 225 V(NumberOrUndefined, kNumber | kUndefined) \
226 V(PlainPrimitive, kNumberOrString | kBoolean | kNullOrUndefined) \ 226 V(PlainPrimitive, kNumberOrString | kBoolean | kNullOrUndefined) \
227 V(Primitive, kSymbol | kSimd | kPlainPrimitive) \ 227 V(Primitive, kSymbol | kSimd | kPlainPrimitive) \
228 V(DetectableReceiver, kFunction | kOtherObject | kProxy) \ 228 V(DetectableReceiver, kFunction | kOtherObject | kProxy) \
229 V(Object, kFunction | kOtherObject | kOtherUndetectable) \ 229 V(Object, kFunction | kOtherObject | kOtherUndetectable) \
230 V(Receiver, kObject | kProxy) \ 230 V(Receiver, kObject | kProxy) \
231 V(StringOrReceiver, kString | kReceiver) \ 231 V(StringOrReceiver, kString | kReceiver) \
232 V(Unique, kBoolean | kUniqueName | kNull | kUndefined | \ 232 V(Unique, kBoolean | kUniqueName | kNull | kUndefined | \
233 kReceiver) \ 233 kReceiver) \
234 V(NonInternal, kPrimitive | kReceiver) \
234 V(NonNumber, kUnique | kString | kInternal) \ 235 V(NonNumber, kUnique | kString | kInternal) \
235 V(Any, 0xfffffffeu) 236 V(Any, 0xfffffffeu)
236 237
237 // clang-format on 238 // clang-format on
238 239
239 /* 240 /*
240 * The following diagrams show how integers (in the mathematical sense) are 241 * The following diagrams show how integers (in the mathematical sense) are
241 * divided among the different atomic numerical types. 242 * divided among the different atomic numerical types.
242 * 243 *
243 * ON OS32 N31 U30 OU31 OU32 ON 244 * ON OS32 N31 U30 OU31 OU32 ON
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 965
965 bool Narrows(Bounds that) { 966 bool Narrows(Bounds that) {
966 return that.lower->Is(this->lower) && this->upper->Is(that.upper); 967 return that.lower->Is(this->lower) && this->upper->Is(that.upper);
967 } 968 }
968 }; 969 };
969 970
970 } // namespace internal 971 } // namespace internal
971 } // namespace v8 972 } // namespace v8
972 973
973 #endif // V8_TYPES_H_ 974 #endif // V8_TYPES_H_
OLDNEW
« src/compiler/opcodes.h ('K') | « src/compiler/verifier.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698