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

Side by Side Diff: src/compiler/types.h

Issue 2647833004: [turbofan] Properly implement %_ClassOf intrinsic. (Closed)
Patch Set: Created 3 years, 11 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/compiler/typer.cc ('k') | src/compiler/verifier.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_COMPILER_TYPES_H_ 5 #ifndef V8_COMPILER_TYPES_H_
6 #define V8_COMPILER_TYPES_H_ 6 #define V8_COMPILER_TYPES_H_
7 7
8 #include "src/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/conversions.h" 9 #include "src/conversions.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 V(Unsigned32OrMinusZeroOrNaN, kUnsigned32 | kMinusZero | kNaN) \ 141 V(Unsigned32OrMinusZeroOrNaN, kUnsigned32 | kMinusZero | kNaN) \
142 V(Integral32, kSigned32 | kUnsigned32) \ 142 V(Integral32, kSigned32 | kUnsigned32) \
143 V(Integral32OrMinusZeroOrNaN, kIntegral32 | kMinusZero | kNaN) \ 143 V(Integral32OrMinusZeroOrNaN, kIntegral32 | kMinusZero | kNaN) \
144 V(PlainNumber, kIntegral32 | kOtherNumber) \ 144 V(PlainNumber, kIntegral32 | kOtherNumber) \
145 V(OrderedNumber, kPlainNumber | kMinusZero) \ 145 V(OrderedNumber, kPlainNumber | kMinusZero) \
146 V(MinusZeroOrNaN, kMinusZero | kNaN) \ 146 V(MinusZeroOrNaN, kMinusZero | kNaN) \
147 V(Number, kOrderedNumber | kNaN) \ 147 V(Number, kOrderedNumber | kNaN) \
148 V(String, kInternalizedString | kOtherString) \ 148 V(String, kInternalizedString | kOtherString) \
149 V(UniqueName, kSymbol | kInternalizedString) \ 149 V(UniqueName, kSymbol | kInternalizedString) \
150 V(Name, kSymbol | kString) \ 150 V(Name, kSymbol | kString) \
151 V(InternalizedStringOrNull, kInternalizedString | kNull) \
151 V(BooleanOrNumber, kBoolean | kNumber) \ 152 V(BooleanOrNumber, kBoolean | kNumber) \
152 V(BooleanOrNullOrNumber, kBooleanOrNumber | kNull) \ 153 V(BooleanOrNullOrNumber, kBooleanOrNumber | kNull) \
153 V(BooleanOrNullOrUndefined, kBoolean | kNull | kUndefined) \ 154 V(BooleanOrNullOrUndefined, kBoolean | kNull | kUndefined) \
154 V(NullOrNumber, kNull | kNumber) \ 155 V(NullOrNumber, kNull | kNumber) \
155 V(NullOrUndefined, kNull | kUndefined) \ 156 V(NullOrUndefined, kNull | kUndefined) \
156 V(Undetectable, kNullOrUndefined | kOtherUndetectable) \ 157 V(Undetectable, kNullOrUndefined | kOtherUndetectable) \
157 V(NumberOrOddball, kNumber | kNullOrUndefined | kBoolean | \ 158 V(NumberOrOddball, kNumber | kNullOrUndefined | kBoolean | \
158 kHole) \ 159 kHole) \
159 V(NumberOrSimdOrString, kNumber | kSimd | kString) \ 160 V(NumberOrSimdOrString, kNumber | kSimd | kString) \
160 V(NumberOrString, kNumber | kString) \ 161 V(NumberOrString, kNumber | kString) \
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 RangeType::Limits* limits, Zone* zone); 664 RangeType::Limits* limits, Zone* zone);
664 static Type* NormalizeUnion(Type* unioned, int size, Zone* zone); 665 static Type* NormalizeUnion(Type* unioned, int size, Zone* zone);
665 static Type* NormalizeRangeAndBitset(Type* range, bitset* bits, Zone* zone); 666 static Type* NormalizeRangeAndBitset(Type* range, bitset* bits, Zone* zone);
666 }; 667 };
667 668
668 } // namespace compiler 669 } // namespace compiler
669 } // namespace internal 670 } // namespace internal
670 } // namespace v8 671 } // namespace v8
671 672
672 #endif // V8_COMPILER_TYPES_H_ 673 #endif // V8_COMPILER_TYPES_H_
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698