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

Unified Diff: src/compiler/verifier.cc

Issue 2222513002: [turbofan] Insert sigma nodes for loop variable backedge. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comments Created 4 years, 4 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') | test/mjsunit/compiler/regress-loop-variable-unsigned.js » ('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 cb8a12035af0b7ca11dfeceb9a5ffff565513b42..54ddbcf4c7cb3f91177645f27fe3491b21c31fbf 100644
--- a/src/compiler/verifier.cc
+++ b/src/compiler/verifier.cc
@@ -1072,6 +1072,9 @@ void Verifier::Visitor::Check(Node* node) {
CheckValueInputIs(node, 0, Type::Number());
CheckUpperIs(node, Type::Number());
break;
+ case IrOpcode::kTypeGuard:
+ CheckUpperIs(node, TypeGuardTypeOf(node->op()));
+ break;
// Machine operators
// -----------------------
« no previous file with comments | « src/compiler/typer.cc ('k') | test/mjsunit/compiler/regress-loop-variable-unsigned.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698