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

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

Issue 2484003002: [builtins] implement JSBuiltinReducer for ArrayIteratorNext() (Closed)
Patch Set: fix tests when ignition is used Created 4 years, 1 month 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 V(Undetectable, kNullOrUndefined | kOtherUndetectable) \ 151 V(Undetectable, kNullOrUndefined | kOtherUndetectable) \
152 V(NumberOrOddball, kNumber | kNullOrUndefined | kBoolean | kHole) \ 152 V(NumberOrOddball, kNumber | kNullOrUndefined | kBoolean | kHole) \
153 V(NumberOrSimdOrString, kNumber | kSimd | kString) \ 153 V(NumberOrSimdOrString, kNumber | kSimd | kString) \
154 V(NumberOrString, kNumber | kString) \ 154 V(NumberOrString, kNumber | kString) \
155 V(NumberOrUndefined, kNumber | kUndefined) \ 155 V(NumberOrUndefined, kNumber | kUndefined) \
156 V(PlainPrimitive, kNumberOrString | kBoolean | kNullOrUndefined) \ 156 V(PlainPrimitive, kNumberOrString | kBoolean | kNullOrUndefined) \
157 V(Primitive, kSymbol | kSimd | kPlainPrimitive) \ 157 V(Primitive, kSymbol | kSimd | kPlainPrimitive) \
158 V(DetectableReceiver, kFunction | kOtherObject | kProxy) \ 158 V(DetectableReceiver, kFunction | kOtherObject | kProxy) \
159 V(Object, kFunction | kOtherObject | kOtherUndetectable) \ 159 V(Object, kFunction | kOtherObject | kOtherUndetectable) \
160 V(Receiver, kObject | kProxy) \ 160 V(Receiver, kObject | kProxy) \
161 V(ReceiverOrUndefined, kReceiver | kUndefined) \
161 V(StringOrReceiver, kString | kReceiver) \ 162 V(StringOrReceiver, kString | kReceiver) \
162 V(Unique, kBoolean | kUniqueName | kNull | kUndefined | \ 163 V(Unique, kBoolean | kUniqueName | kNull | kUndefined | \
163 kReceiver) \ 164 kReceiver) \
164 V(Internal, kHole | kExternalPointer | kOtherInternal) \ 165 V(Internal, kHole | kExternalPointer | kOtherInternal) \
165 V(NonInternal, kPrimitive | kReceiver) \ 166 V(NonInternal, kPrimitive | kReceiver) \
166 V(NonNumber, kUnique | kString | kInternal) \ 167 V(NonNumber, kUnique | kString | kInternal) \
167 V(Any, 0xfffffffeu) 168 V(Any, 0xfffffffeu)
168 169
169 // clang-format on 170 // clang-format on
170 171
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 RangeType::Limits* limits, Zone* zone); 643 RangeType::Limits* limits, Zone* zone);
643 static Type* NormalizeUnion(Type* unioned, int size, Zone* zone); 644 static Type* NormalizeUnion(Type* unioned, int size, Zone* zone);
644 static Type* NormalizeRangeAndBitset(Type* range, bitset* bits, Zone* zone); 645 static Type* NormalizeRangeAndBitset(Type* range, bitset* bits, Zone* zone);
645 }; 646 };
646 647
647 } // namespace compiler 648 } // namespace compiler
648 } // namespace internal 649 } // namespace internal
649 } // namespace v8 650 } // namespace v8
650 651
651 #endif // V8_COMPILER_TYPES_H_ 652 #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