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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/typer.cc ('k') | src/deoptimize-reason.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/verifier.cc
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc
index a1310ed22f639b8d08eb17ad43137f81a5cbcc73..d9843bcd013d46fbbb267aca845037d28362e20c 100644
--- a/src/compiler/verifier.cc
+++ b/src/compiler/verifier.cc
@@ -1178,6 +1178,10 @@ void Verifier::Visitor::Check(Node* node) {
CheckValueInputIs(node, 0, Type::Any());
CheckTypeIs(node, Type::String());
break;
+ case IrOpcode::kCheckSymbol:
+ CheckValueInputIs(node, 0, Type::Any());
+ CheckTypeIs(node, Type::Symbol());
+ break;
case IrOpcode::kCheckedInt32Add:
case IrOpcode::kCheckedInt32Sub:
« 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