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

Side by Side Diff: src/compiler/verifier.cc

Issue 2893263002: [turbofan] Add Symbol feedback to Equal/StrictEqual. (Closed)
Patch Set: Created 3 years, 7 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/deoptimize-reason.h » ('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 #include "src/compiler/verifier.h" 5 #include "src/compiler/verifier.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <deque> 8 #include <deque>
9 #include <queue> 9 #include <queue>
10 #include <sstream> 10 #include <sstream>
(...skipping 1160 matching lines...) Expand 10 before | Expand all | Expand 10 after
1171 CheckValueInputIs(node, 0, Type::Any()); 1171 CheckValueInputIs(node, 0, Type::Any());
1172 CheckTypeIs(node, Type::Receiver()); 1172 CheckTypeIs(node, Type::Receiver());
1173 break; 1173 break;
1174 case IrOpcode::kCheckSmi: 1174 case IrOpcode::kCheckSmi:
1175 CheckValueInputIs(node, 0, Type::Any()); 1175 CheckValueInputIs(node, 0, Type::Any());
1176 break; 1176 break;
1177 case IrOpcode::kCheckString: 1177 case IrOpcode::kCheckString:
1178 CheckValueInputIs(node, 0, Type::Any()); 1178 CheckValueInputIs(node, 0, Type::Any());
1179 CheckTypeIs(node, Type::String()); 1179 CheckTypeIs(node, Type::String());
1180 break; 1180 break;
1181 case IrOpcode::kCheckSymbol:
1182 CheckValueInputIs(node, 0, Type::Any());
1183 CheckTypeIs(node, Type::Symbol());
1184 break;
1181 1185
1182 case IrOpcode::kCheckedInt32Add: 1186 case IrOpcode::kCheckedInt32Add:
1183 case IrOpcode::kCheckedInt32Sub: 1187 case IrOpcode::kCheckedInt32Sub:
1184 case IrOpcode::kCheckedInt32Div: 1188 case IrOpcode::kCheckedInt32Div:
1185 case IrOpcode::kCheckedInt32Mod: 1189 case IrOpcode::kCheckedInt32Mod:
1186 case IrOpcode::kCheckedUint32Div: 1190 case IrOpcode::kCheckedUint32Div:
1187 case IrOpcode::kCheckedUint32Mod: 1191 case IrOpcode::kCheckedUint32Mod:
1188 case IrOpcode::kCheckedInt32Mul: 1192 case IrOpcode::kCheckedInt32Mul:
1189 case IrOpcode::kCheckedInt32ToTaggedSigned: 1193 case IrOpcode::kCheckedInt32ToTaggedSigned:
1190 case IrOpcode::kCheckedUint32ToInt32: 1194 case IrOpcode::kCheckedUint32ToInt32:
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
1761 replacement->op()->EffectOutputCount() > 0); 1765 replacement->op()->EffectOutputCount() > 0);
1762 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1766 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1763 replacement->opcode() == IrOpcode::kFrameState); 1767 replacement->opcode() == IrOpcode::kFrameState);
1764 } 1768 }
1765 1769
1766 #endif // DEBUG 1770 #endif // DEBUG
1767 1771
1768 } // namespace compiler 1772 } // namespace compiler
1769 } // namespace internal 1773 } // namespace internal
1770 } // namespace v8 1774 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/deoptimize-reason.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698