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

Side by Side Diff: src/type-hints.cc

Issue 2639883002: [turbofan] Add Receiver feedback for abstract/strict equality. (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/type-hints.h ('k') | src/type-info.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #include "src/type-hints.h" 5 #include "src/type-hints.h"
6 6
7 namespace v8 { 7 namespace v8 {
8 namespace internal { 8 namespace internal {
9 9
10 std::ostream& operator<<(std::ostream& os, BinaryOperationHint hint) { 10 std::ostream& operator<<(std::ostream& os, BinaryOperationHint hint) {
(...skipping 22 matching lines...) Expand all
33 case CompareOperationHint::kSignedSmall: 33 case CompareOperationHint::kSignedSmall:
34 return os << "SignedSmall"; 34 return os << "SignedSmall";
35 case CompareOperationHint::kNumber: 35 case CompareOperationHint::kNumber:
36 return os << "Number"; 36 return os << "Number";
37 case CompareOperationHint::kNumberOrOddball: 37 case CompareOperationHint::kNumberOrOddball:
38 return os << "NumberOrOddball"; 38 return os << "NumberOrOddball";
39 case CompareOperationHint::kInternalizedString: 39 case CompareOperationHint::kInternalizedString:
40 return os << "InternalizedString"; 40 return os << "InternalizedString";
41 case CompareOperationHint::kString: 41 case CompareOperationHint::kString:
42 return os << "String"; 42 return os << "String";
43 case CompareOperationHint::kReceiver:
44 return os << "Receiver";
43 case CompareOperationHint::kAny: 45 case CompareOperationHint::kAny:
44 return os << "Any"; 46 return os << "Any";
45 } 47 }
46 UNREACHABLE(); 48 UNREACHABLE();
47 return os; 49 return os;
48 } 50 }
49 51
50 std::ostream& operator<<(std::ostream& os, ToBooleanHint hint) { 52 std::ostream& operator<<(std::ostream& os, ToBooleanHint hint) {
51 switch (hint) { 53 switch (hint) {
52 case ToBooleanHint::kNone: 54 case ToBooleanHint::kNone:
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 return os << "ConvertRight"; 158 return os << "ConvertRight";
157 case STRING_ADD_CONVERT: 159 case STRING_ADD_CONVERT:
158 break; 160 break;
159 } 161 }
160 UNREACHABLE(); 162 UNREACHABLE();
161 return os; 163 return os;
162 } 164 }
163 165
164 } // namespace internal 166 } // namespace internal
165 } // namespace v8 167 } // namespace v8
OLDNEW
« no previous file with comments | « src/type-hints.h ('k') | src/type-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698